Skip to content

Commit 9ff2c6b

Browse files
DOC: Fix SA01 Errors (#58556)
* Fix SA01 errors * Fix SA01 errors
1 parent 1c0e031 commit 9ff2c6b

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

ci/code_checks.sh

-3
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
200200
-i "pandas.Series.floordiv PR07" \
201201
-i "pandas.Series.ge PR07,SA01" \
202202
-i "pandas.Series.gt PR07,SA01" \
203-
-i "pandas.Series.hasnans SA01" \
204-
-i "pandas.Series.is_monotonic_decreasing SA01" \
205-
-i "pandas.Series.is_monotonic_increasing SA01" \
206203
-i "pandas.Series.kurt RT03,SA01" \
207204
-i "pandas.Series.kurtosis RT03,SA01" \
208205
-i "pandas.Series.le PR07,SA01" \

pandas/core/base.py

+15
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,11 @@ def hasnans(self) -> bool:
909909
-------
910910
bool
911911
912+
See Also
913+
--------
914+
Series.isna : Detect missing values.
915+
Series.notna : Detect existing (non-missing) values.
916+
912917
Examples
913918
--------
914919
>>> s = pd.Series([1, 2, 3, None])
@@ -1135,6 +1140,11 @@ def is_monotonic_increasing(self) -> bool:
11351140
-------
11361141
bool
11371142
1143+
See Also
1144+
--------
1145+
Series.is_monotonic_decreasing : Return boolean if values in the object are
1146+
monotonically decreasing.
1147+
11381148
Examples
11391149
--------
11401150
>>> s = pd.Series([1, 2, 2])
@@ -1158,6 +1168,11 @@ def is_monotonic_decreasing(self) -> bool:
11581168
-------
11591169
bool
11601170
1171+
See Also
1172+
--------
1173+
Series.is_monotonic_increasing : Return boolean if values in the object are
1174+
monotonically increasing.
1175+
11611176
Examples
11621177
--------
11631178
>>> s = pd.Series([3, 2, 2, 1])

0 commit comments

Comments
 (0)