Skip to content

Commit 7cebd78

Browse files
DOC: fix SA01 for pandas.Series.sparse.fill_value (#59858)
1 parent b81ed16 commit 7cebd78

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
9797
-i "pandas.Series.dt.tz_localize PR01,PR02" \
9898
-i "pandas.Series.dt.unit GL08" \
9999
-i "pandas.Series.pad PR01,SA01" \
100-
-i "pandas.Series.sparse.fill_value SA01" \
101100
-i "pandas.Series.sparse.from_coo PR07,SA01" \
102101
-i "pandas.Series.sparse.npoints SA01" \
103102
-i "pandas.Timedelta.max PR02" \

pandas/core/arrays/sparse/array.py

+6
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,12 @@ def fill_value(self):
635635
636636
For memory savings, this should be the most common value in the array.
637637
638+
See Also
639+
--------
640+
SparseDtype : Dtype for data stored in :class:`SparseArray`.
641+
Series.value_counts : Return a Series containing counts of unique values.
642+
Series.fillna : Fill NA/NaN in a Series with a specified value.
643+
638644
Examples
639645
--------
640646
>>> ser = pd.Series([0, 0, 2, 2, 2], dtype="Sparse[int]")

0 commit comments

Comments
 (0)