پایتون ( Machine Learning | Data Science )
23.6K subscribers
470 photos
57 videos
103 files
336 links
◀️اینجا با تمرین و چالش با هم پایتون رو یاد می گیریم

بانک اطلاعاتی پایتون
پروژه / code/ cheat sheet
+ویدیوهای آموزشی

+کتابهای پایتون
تبلیغات:
@alloadv

🔁ادمین :
@maryam3771
Download Telegram
🔖چیت شیت شماره ۱۹ پایتون: راهنمای نهایی برای مبتدیان و متخصصان

🔻با این چیت شیت جامع (برای همه سطوح مهارت)، بر پایتون مسلط شوید. این چیت شیت جامع پایتون منبع عالی برای مبتدیان و توسعه دهندگان با تجربه است.
این cheatsheet با پوشش طیف گسترده ای از موضوعات، از نحو و ساختار داده تا مفاهیم برنامه نویسی پیشرفته، همه چیزهایی را دارد که برای نوشتن کد پایتون به طور موثر نیاز دارید.


https://morioh.com/a/3bd2c99e69d6/python-cheatsheet-the-ultimate-guide-for-beginners-and-experts



#cheat_sheet

🆔 @Python4all_pro
🖥 Python cheat sheet, which contains small scripts for solving everyday problems

By the way, here are some of them:

✔️ add the sample.txt file to the .tar.gz archive:
import tarfile
with tarfile.open('sample.tar.gz', 'w:gz') as tar:
tar.add('sample.txt')


✔️ clear output of differences between strings
import difflib
diff = difflib.ndiff('one\ntwo\nthree\n'.splitlines(keepends=True),
'ore\ntree\nemu\n'.splitlines(keepends=True))
print(''.join(diff))


📎
Ultimate Python Cheat Sheet: Practical Python For Everyday Tasks : link



#cheat_sheet #Python

🆔 @Python4all_pro
🖥 چیت شیت شماره 21 پایتون

اطلاعات زیادی در این چیت شیت ها وجود دارد که برای پایتون کارهای مبتدی و پیشرفته مفید خواهد بود: از basic data structures و OOP و کار با فایل ها - تا creating asynchronous applications و کار با SQL.


🟡 Python Cheatsheet



#cheat_sheet #Python

🆔 @Python4all_pro
#NumPy cheat sheet for #datascience :

*Array Creation*

1. numpy.array() - Create an array from a list or other iterable.
2. numpy.zeros() - Create an array filled with zeros.
3. numpy.ones() - Create an array filled with ones.
4. numpy.empty() - Create an empty array.
5. numpy.arange() - Create an array with evenly spaced values.
6. numpy.linspace() - Create an array with evenly spaced values.

*Array Operations*

1. + - Element-wise addition.
2. - - Element-wise subtraction.
3. * - Element-wise multiplication.
4. / - Element-wise division.
5. ** - Element-wise exponentiation.
6. numpy.sum() - Sum of all elements.
7. numpy.mean() - Mean of all elements.
8. numpy.median() - Median of all elements.
9. numpy.std() - Standard deviation.
10. numpy.var() - Variance.

*Array Indexing*

ادامه در پست بعد👇

#cheat_sheet #Python
🆔 @Python4all_pro
#NumPy cheat sheet for #datascience :

*Array Creation*

1. numpy.array() - Create an array from a list or other iterable.
2. numpy.zeros() - Create an array filled with zeros.
3. numpy.ones() - Create an array filled with ones.
4. numpy.empty() - Create an empty array.
5. numpy.arange() - Create an array with evenly spaced values.
6. numpy.linspace() - Create an array with evenly spaced values.

*Array Operations*

1. + - Element-wise addition.
2. - - Element-wise subtraction.
3. * - Element-wise multiplication.
4. / - Element-wise division.
5. ** - Element-wise exponentiation.
6. numpy.sum() - Sum of all elements.
7. numpy.mean() - Mean of all elements.
8. numpy.median() - Median of all elements.
9. numpy.std() - Standard deviation.
10. numpy.var() - Variance.

*Array Indexing*

1. arr[i] - Access ith element.
2. arr[i:j] - Access slice from ith to jth element.
3. arr[i:j:k] - Access slice with step k.

*Array Reshaping*

1. arr.reshape() - Reshape array.
2. arr.flatten() - Flatten array.
3. arr.ravel() - Flatten array.

*Array Manipulation*

1. numpy.concatenate() - Concatenate arrays.
2. numpy.split() - Split array.
3. numpy.transpose() - Transpose array.
4. numpy.flip() - Flip array.

*Mathematical Functions*

1. numpy.sin() - Sine.
2. numpy.cos() - Cosine.
3. numpy.tan() - Tangent.
4. numpy.exp() - Exponential.
5. numpy.log() - Natural logarithm.

*Statistical Functions*

1. numpy.min() - Minimum value.
2. numpy.max() - Maximum value.
3. numpy.percentile() - Percentile.
4. numpy.quantile() - Quantile.

*Random Number Generation*

1. numpy.random.rand() - Random numbers.
2. numpy.random.normal() - Normal distribution.
3. numpy.random.uniform() - Uniform distribution.

*Linear Algebra*

1. numpy.dot() - Dot product.
2. numpy.matmul() - Matrix multiplication.
3. numpy.linalg.inv() - Matrix inverse.

#cheat_sheet #Python
🆔 @Python4all_pro
Python Cheat-Sheet - A Quick Reference Guide for Programmers



#cheat_sheet #Python


🆔 @Python4all_pro