O'Reilly logo

NumPy : Beginner's Guide - Third Edition by Ivan Idris

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C. NumPy Functions' References

This appendix contains a list of useful NumPy functions and their descriptions.

  • numpy.apply_along_axis(func1d, axis, arr, *args): Applies the function func1d along an axis on 1D slices of arr.
  • numpy.arange([start,] stop[, step,], dtype=None): Creates a NumPy array with evenly spaced values within a specified range.
  • numpy.argsort(a, axis=-1, kind='quicksort', order=None): Returns the indices that would sort the input array.
  • numpy.argmax(a, axis=None): Returns the indices of the maximum values along an axis.
  • numpy.argmin(a, axis=None): Returns the indices of the minimum values along an axis.
  • numpy.argwhere(a): Finds the indices of non-zero elements.
  • numpy.array(object, dtype=None, copy=True, order=None, subok=False, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required