0% found this document useful (0 votes)
49 views1 page

Numpy Functions List

Uploaded by

mayurpatil017902
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views1 page

Numpy Functions List

Uploaded by

mayurpatil017902
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

NumPy Functions List

1. array() - Create an array.

2. arange() - Create sequences of numbers.

3. linspace() - Create evenly spaced numbers over a specified range.

4. zeros(), ones(), full() - Create arrays filled with 0s, 1s, or a constant value.

5. eye(), identity() - Create identity matrices.

6. reshape() - Change the shape of an array.

7. ravel(), flatten() - Flatten a multi-dimensional array.

8. transpose(), T - Transpose an array.

9. concatenate(), stack(), vstack(), hstack() - Join arrays.

10. split(), array_split() - Split an array into multiple sub-arrays.

11. sum(), mean(), std(), var() - Statistical operations.

12. min(), max(), argmin(), argmax() - Minimum/maximum and their indices.

13. sort(), argsort() - Sort arrays.

14. where(), nonzero() - Conditional filtering and indexing.

15. unique() - Find unique elements.

16. dot(), matmul() - Matrix multiplication.

17. random.rand(), randint(), normal() - Random number generation.

18. save(), load() - Save and load arrays to/from disk.

19. isnan(), isinf(), isfinite() - Check for NaNs or Infs.

20. clip(), round(), floor(), ceil() - Value adjustments.

You might also like