Skip to content

Commit a8fe040

Browse files
committed
to_numpy example
1 parent 8a66d3a commit a8fe040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/arrays/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def to_numpy(
572572
-------
573573
>>> arr = pd.array([4, 5])
574574
>>> arr.to_numpy()
575-
array([4, 5], dtype=object)
575+
array([4, 5])
576576
"""
577577
result = np.asarray(self, dtype=dtype)
578578
if copy or na_value is not lib.no_default:

0 commit comments

Comments
 (0)