Skip to content

Commit 0d73d48

Browse files
committed
Updated the example in the duplicated method docstring to use an ArrowExtensionArray
1 parent 61a1bb0 commit 0d73d48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/arrays/arrow/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1908,7 +1908,7 @@ def duplicated(
19081908
19091909
Examples
19101910
--------
1911-
>>> pd.array([1, 1, 2, 3, 3], dtype="Int64").duplicated()
1911+
>>> pd.array([1, 1, 2, 3, 3], dtype="int64[pyarrow]").duplicated()
19121912
array([False, True, False, False, True])
19131913
"""
19141914
pa_type = self._pa_array.type

0 commit comments

Comments
 (0)