Skip to content

Commit

Permalink
DOC: Fix SA01 Errors (pandas-dev#58556)
Browse files Browse the repository at this point in the history
* Fix SA01 errors

* Fix SA01 errors
  • Loading branch information
shriyakalakata authored May 3, 2024
1 parent 1c0e031 commit 9ff2c6b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.Series.floordiv PR07" \
-i "pandas.Series.ge PR07,SA01" \
-i "pandas.Series.gt PR07,SA01" \
-i "pandas.Series.hasnans SA01" \
-i "pandas.Series.is_monotonic_decreasing SA01" \
-i "pandas.Series.is_monotonic_increasing SA01" \
-i "pandas.Series.kurt RT03,SA01" \
-i "pandas.Series.kurtosis RT03,SA01" \
-i "pandas.Series.le PR07,SA01" \
Expand Down
15 changes: 15 additions & 0 deletions pandas/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,11 @@ def hasnans(self) -> bool:
-------
bool
See Also
--------
Series.isna : Detect missing values.
Series.notna : Detect existing (non-missing) values.
Examples
--------
>>> s = pd.Series([1, 2, 3, None])
Expand Down Expand Up @@ -1135,6 +1140,11 @@ def is_monotonic_increasing(self) -> bool:
-------
bool
See Also
--------
Series.is_monotonic_decreasing : Return boolean if values in the object are
monotonically decreasing.
Examples
--------
>>> s = pd.Series([1, 2, 2])
Expand All @@ -1158,6 +1168,11 @@ def is_monotonic_decreasing(self) -> bool:
-------
bool
See Also
--------
Series.is_monotonic_increasing : Return boolean if values in the object are
monotonically increasing.
Examples
--------
>>> s = pd.Series([3, 2, 2, 1])
Expand Down

0 comments on commit 9ff2c6b

Please sign in to comment.