mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-28 08:02:00 +00:00
docs(numpy): drop duplicated ndim (#5119)
This commit is contained in:
parent
a9256a6d25
commit
6497b3f2f2
@ -378,8 +378,6 @@ uses of ``py::array``:
|
||||
|
||||
- ``.itemsize()`` returns the size of an item in bytes, i.e. ``sizeof(T)``.
|
||||
|
||||
- ``.ndim()`` returns the number of dimensions.
|
||||
|
||||
- ``.shape(n)`` returns the size of dimension ``n``
|
||||
|
||||
- ``.size()`` returns the total number of elements (i.e. the product of the shapes).
|
||||
|
Loading…
Reference in New Issue
Block a user