Skip to content

Commit 1af4b67

Browse files
DOC: Add 'See Also' for pandas.api.types.is_sparse
1 parent 642d244 commit 1af4b67

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
296296
-i "pandas.api.types.is_period_dtype SA01" \
297297
-i "pandas.api.types.is_re PR07,SA01" \
298298
-i "pandas.api.types.is_re_compilable PR07,SA01" \
299-
-i "pandas.api.types.is_sparse SA01" \
300299
-i "pandas.api.types.is_timedelta64_ns_dtype SA01" \
301300
-i "pandas.api.types.pandas_dtype PR07,RT03,SA01" \
302301
-i "pandas.arrays.ArrowExtensionArray PR07,SA01" \

pandas/core/dtypes/common.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ def is_sparse(arr) -> bool:
187187
bool
188188
Whether or not the array-like is a pandas sparse array.
189189
190+
See Also
191+
--------
192+
api.types.SparseDtype : The dtype object for pandas sparse arrays.
193+
190194
Examples
191195
--------
192196
Returns `True` if the parameter is a 1-D pandas sparse array.

0 commit comments

Comments
 (0)