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, ...

Get NumPy : Beginner's Guide - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.