Skip to content

Commit 0c93864

Browse files
update series.values example
1 parent 85799ca commit 0c93864

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/core/series.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,9 @@ def values(self):
764764
array([1, 2, 3])
765765
766766
>>> pd.Series(list("aabc")).values
767-
array(['a', 'a', 'b', 'c'], dtype=object)
767+
<ArrowStringArrayNumpySemantics>
768+
['a', 'a', 'b', 'c']
769+
Length: 4, dtype: str
768770
769771
>>> pd.Series(list("aabc")).astype("category").values
770772
['a', 'a', 'b', 'c']

0 commit comments

Comments
 (0)