Skip to content

Commit

Permalink
docs(numpy): drop duplicated ndim (#5119)
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd authored May 6, 2024
1 parent a9256a6 commit 6497b3f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/advanced/pycpp/numpy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 6497b3f

Please sign in to comment.