Built-in Functions
StevenSwiniarski466 total contributions
Published May 25, 2022
Contribute to Docs
NumPy has many built-in functions for mathematical operations and array manipulation. Selected ones are listed below.
Built-in Functions
- .amax()
- Returns the maximum of a given array or maximum along an axis.
- .amin()
- Returns the minimum of an array or minimum along an axis.
- .append()
- Appends values to the end of an array.
- .linspace()
- Returns an array of evenly-spaced numbers over a given interval.
- .log()
- Returns an element-wise natural logarithm for an array.
- .reshape()
- Rearranges the data of an ndarray into a new shape.
- .sum()
- Sums the elements of an array over a given axis.
- .transpose()
- Reverses or permutes the axes of an ndarray.
Looking to contribute?
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.