Back to Numerical Arrays (NumPy)
np.flipud
Reverse the order of elements along axis 0 (up/down).
Syntax
np.flipud(arr)
Description
Reverse the order of elements along axis 0 (up/down).
Parameters
| Name | Description |
|---|---|
| arr | - Input array with at least 1 dimension |
Returns
NDArray