Skip to content

Commit f2cbd4b

Browse files
committed
remove ndarray example
1 parent a8fe040 commit f2cbd4b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pandas/core/arrays/base.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -567,12 +567,6 @@ def to_numpy(
567567
Returns
568568
-------
569569
numpy.ndarray
570-
571-
Examples
572-
-------
573-
>>> arr = pd.array([4, 5])
574-
>>> arr.to_numpy()
575-
array([4, 5])
576570
"""
577571
result = np.asarray(self, dtype=dtype)
578572
if copy or na_value is not lib.no_default:

0 commit comments

Comments
 (0)