Skip to content

Commit d27cdfb

Browse files
committed
fix tolist
1 parent 682c001 commit d27cdfb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
176176
-i "pandas.Timestamp.value GL08" \
177177
-i "pandas.Timestamp.year GL08" \
178178
-i "pandas.api.extensions.ExtensionArray.interpolate PR01,SA01" \
179-
-i "pandas.api.extensions.ExtensionArray.tolist RT03,SA01" \
180179
-i "pandas.api.extensions.ExtensionArray.unique RT03,SA01" \
181180
-i "pandas.api.extensions.ExtensionArray.view SA01" \
182181
-i "pandas.api.interchange.from_dataframe RT03,SA01" \

pandas/core/arrays/base.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2225,6 +2225,12 @@ def tolist(self) -> list:
22252225
Returns
22262226
-------
22272227
list
2228+
Python list of values in array.
2229+
2230+
See Also
2231+
--------
2232+
Index.to_list: Return a list of the values in the Index.
2233+
Series.to_list: Return a list of the values in the Series.
22282234
22292235
Examples
22302236
--------

0 commit comments

Comments
 (0)