Skip to content

Commit

Permalink
Doc: Fixing SA01 error for DataFrame: pop and columns (pandas-dev#58359)
Browse files Browse the repository at this point in the history
Doc: Fixinf SA01 error for DataFrame: pop and columns
  • Loading branch information
KeiOshima authored and pmhatre1 committed May 7, 2024
1 parent 9706ad3 commit 847ee00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.DataFrame.median RT03,SA01" \
-i "pandas.DataFrame.min RT03" \
-i "pandas.DataFrame.plot PR02,SA01" \
-i "pandas.DataFrame.pop SA01" \
-i "pandas.DataFrame.prod RT03" \
-i "pandas.DataFrame.product RT03" \
-i "pandas.DataFrame.reorder_levels SA01" \
Expand Down
6 changes: 6 additions & 0 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -5535,6 +5535,11 @@ def pop(self, item: Hashable) -> Series:
Series
Series representing the item that is dropped.
See Also
--------
DataFrame.drop: Drop specified labels from rows or columns.
DataFrame.drop_duplicates: Return DataFrame with duplicate rows removed.
Examples
--------
>>> df = pd.DataFrame(
Expand Down Expand Up @@ -12896,6 +12901,7 @@ def isin_(x):
See Also
--------
DataFrame.index: The index (row labels) of the DataFrame.
DataFrame.axes: Return a list representing the axes of the DataFrame.
Examples
--------
Expand Down

0 comments on commit 847ee00

Please sign in to comment.