From 975068359a6174d940be6650f65df55650db6d97 Mon Sep 17 00:00:00 2001 From: eafox Date: Wed, 26 Feb 2025 15:03:27 -0500 Subject: [PATCH] Updated docstring --- pandas/core/frame.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 3199733cfb85f..4cf595d167c46 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -5293,16 +5293,16 @@ def drop( Parameters ---------- - labels : single label or list-like + labels : single label or iterable of labels Index or column labels to drop. A tuple will be used as a single - label and not treated as a list-like. + label and not treated as an iterable. axis : {0 or 'index', 1 or 'columns'}, default 0 Whether to drop labels from the index (0 or 'index') or columns (1 or 'columns'). - index : single label or list-like + index : single label or iterable of labels Alternative to specifying axis (``labels, axis=0`` is equivalent to ``index=labels``). - columns : single label or list-like + columns : single label or iterable of labels Alternative to specifying axis (``labels, axis=1`` is equivalent to ``columns=labels``). level : int or level name, optional