Skip to content

Commit 6497b3f

Browse files
authored
docs(numpy): drop duplicated ndim (#5119)
1 parent a9256a6 commit 6497b3f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/advanced/pycpp/numpy.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,6 @@ uses of ``py::array``:
378378

379379
- ``.itemsize()`` returns the size of an item in bytes, i.e. ``sizeof(T)``.
380380

381-
- ``.ndim()`` returns the number of dimensions.
382-
383381
- ``.shape(n)`` returns the size of dimension ``n``
384382

385383
- ``.size()`` returns the total number of elements (i.e. the product of the shapes).

0 commit comments

Comments
 (0)