diff --git a/ci/code_checks.sh b/ci/code_checks.sh index cabc25b5e0ba5..da80e5c3f0770 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -93,7 +93,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" \ diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 0185ca8241617..73b8d88478078 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -5535,6 +5535,11 @@ def pop(self, item: Hashable) -> Series: Series Series representing the item that is dropped. + See Also + -------- + DataFrame.drop : Remove rows or columns by specifying label names and + corresponding axis, or by directly specifying index or column names. + Examples -------- >>> df = pd.DataFrame(