Skip to content

Commit ecdfcfe

Browse files
authored
make drop_column plural (#270)
1 parent fd32b6b commit ecdfcfe

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

spec/API_specification/dataframe_api/dataframe_object.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,14 @@ def update_columns(self, columns: Column | Sequence[Column], /) -> DataFrame:
233233
"""
234234
...
235235

236-
def drop_column(self, label: str) -> DataFrame:
236+
def drop_columns(self, label: str | list[str]) -> DataFrame:
237237
"""
238-
Drop the specified column.
238+
Drop the specified column(s).
239239
240240
Parameters
241241
----------
242-
label : str
242+
label : str | list[str]
243+
Column name(s) to drop.
243244
244245
Returns
245246
-------

0 commit comments

Comments
 (0)