Skip to content

Commit 66ac9d5

Browse files
committed
DOC: fix docstring for DataFrame.pop pandas-dev#58065
1 parent b111ac6 commit 66ac9d5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
9393
-i "pandas.DataFrame.median RT03,SA01" \
9494
-i "pandas.DataFrame.min RT03" \
9595
-i "pandas.DataFrame.plot PR02,SA01" \
96-
-i "pandas.DataFrame.pop SA01" \
9796
-i "pandas.DataFrame.prod RT03" \
9897
-i "pandas.DataFrame.product RT03" \
9998
-i "pandas.DataFrame.reorder_levels SA01" \

pandas/core/frame.py

+5
Original file line numberDiff line numberDiff line change
@@ -5535,6 +5535,11 @@ def pop(self, item: Hashable) -> Series:
55355535
Series
55365536
Series representing the item that is dropped.
55375537
5538+
See Also
5539+
--------
5540+
DataFrame.drop : Remove rows or columns by specifying label names and
5541+
corresponding axis, or by directly specifying index or column names.
5542+
55385543
Examples
55395544
--------
55405545
>>> df = pd.DataFrame(

0 commit comments

Comments
 (0)