From 6497b3f2f2e48c0eb4bac2e54edbbd22770d84c3 Mon Sep 17 00:00:00 2001 From: nobkd <44443899+nobkd@users.noreply.github.com> Date: Mon, 6 May 2024 18:42:05 +0200 Subject: [PATCH] docs(numpy): drop duplicated ndim (#5119) --- docs/advanced/pycpp/numpy.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/advanced/pycpp/numpy.rst b/docs/advanced/pycpp/numpy.rst index 07c969305..d09a2cea2 100644 --- a/docs/advanced/pycpp/numpy.rst +++ b/docs/advanced/pycpp/numpy.rst @@ -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).