Skip to content

Commit ffb3c15

Browse files
DOC: fix SA01 for pandas.api.types.is_list_like (#59864)
1 parent 0962007 commit ffb3c15

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
@@ -116,7 +116,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
116116
-i "pandas.api.types.is_hashable PR01,RT03,SA01" \
117117
-i "pandas.api.types.is_integer PR01,SA01" \
118118
-i "pandas.api.types.is_iterator PR07,SA01" \
119-
-i "pandas.api.types.is_list_like SA01" \
120119
-i "pandas.api.types.is_named_tuple PR07,SA01" \
121120
-i "pandas.api.types.is_object_dtype SA01" \
122121
-i "pandas.api.types.is_re PR07,SA01" \

pandas/_libs/lib.pyx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,12 @@ def is_list_like(obj: object, allow_sets: bool = True) -> bool:
12201220
bool
12211221
Whether `obj` has list-like properties.
12221222

1223+
See Also
1224+
--------
1225+
Series : One-dimensional ndarray with axis labels (including time series).
1226+
Index : Immutable sequence used for indexing and alignment.
1227+
numpy.ndarray : Array object from NumPy, which is considered list-like.
1228+
12231229
Examples
12241230
--------
12251231
>>> import datetime

0 commit comments

Comments
 (0)