Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.api.types.is_integer PR01,SA01" \
-i "pandas.api.types.is_interval_dtype SA01" \
-i "pandas.api.types.is_iterator PR07,SA01" \
-i "pandas.api.types.is_list_like SA01" \
-i "pandas.api.types.is_named_tuple PR07,SA01" \
-i "pandas.api.types.is_object_dtype SA01" \
-i "pandas.api.types.is_re PR07,SA01" \
Expand Down
6 changes: 6 additions & 0 deletions pandas/_libs/lib.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1213,6 +1213,12 @@ def is_list_like(obj: object, allow_sets: bool = True) -> bool:
bool
Whether `obj` has list-like properties.

See Also
--------
Series : One-dimensional ndarray with axis labels (including time series).
Index : Immutable sequence used for indexing and alignment.
numpy.ndarray : Array object from NumPy, which is considered list-like.

Examples
--------
>>> import datetime
Expand Down
Loading