Skip to content

Commit 976c1ad

Browse files
DOC: Add 'See Also' for pandas.api.types.is_sparse (#59406)
Co-authored-by: Matthew Roeschke <[email protected]>
1 parent 66c5b9a commit 976c1ad

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
@@ -292,7 +292,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
292292
-i "pandas.api.types.is_period_dtype SA01" \
293293
-i "pandas.api.types.is_re PR07,SA01" \
294294
-i "pandas.api.types.is_re_compilable PR07,SA01" \
295-
-i "pandas.api.types.is_sparse SA01" \
296295
-i "pandas.api.types.is_timedelta64_ns_dtype SA01" \
297296
-i "pandas.api.types.pandas_dtype PR07,RT03,SA01" \
298297
-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)