diff options
| author | Ross Barnowski <rossbar@berkeley.edu> | 2022-10-19 15:47:26 -0700 |
|---|---|---|
| committer | Ross Barnowski <rossbar@berkeley.edu> | 2022-10-19 15:47:26 -0700 |
| commit | ce057d29087f93fe3eafd96fcd7e9a2d0c46ddd4 (patch) | |
| tree | 5525d42523b36bf84a2c7a168d15414743dddffb /numpy | |
| parent | 7776bc6166915322bc61c4be988fc99727bc2f9a (diff) | |
| download | numpy-ce057d29087f93fe3eafd96fcd7e9a2d0c46ddd4.tar.gz | |
DOC: Add deprecated directive to docstring.
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/lib/function_base.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index a0c94114a..67ea54635 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -3648,6 +3648,10 @@ def msort(a): """ Return a copy of an array sorted along the first axis. + .. deprecated:: 1.24 + + msort is deprecated, use ``np.sort(a, axis=0)`` instead. + Parameters ---------- a : array_like |
