Skip to content

Commit b3d6e79

Browse files
DOC: fix SA01 for pandas.api.types.is_list_like
1 parent 2419343 commit b3d6e79

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
@@ -121,7 +121,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
121121
-i "pandas.api.types.is_integer PR01,SA01" \
122122
-i "pandas.api.types.is_interval_dtype SA01" \
123123
-i "pandas.api.types.is_iterator PR07,SA01" \
124-
-i "pandas.api.types.is_list_like SA01" \
125124
-i "pandas.api.types.is_named_tuple PR07,SA01" \
126125
-i "pandas.api.types.is_object_dtype SA01" \
127126
-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
@@ -1213,6 +1213,12 @@ def is_list_like(obj: object, allow_sets: bool = True) -> bool:
12131213
bool
12141214
Whether `obj` has list-like properties.
12151215

1216+
See Also
1217+
--------
1218+
Series : One-dimensional ndarray with axis labels (including time series).
1219+
Index : Immutable sequence used for indexing and alignment.
1220+
numpy.ndarray : Array object from NumPy, which is considered list-like.
1221+
12161222
Examples
12171223
--------
12181224
>>> import datetime

0 commit comments

Comments
 (0)