*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
