Skip to content

Commit 01f6d94

Browse files
authored
drop unnecessary _columns (#340)
1 parent 07dbf57 commit 01f6d94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/API_specification/dataframe_api/dataframe_object.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def assign(self, *columns: Column) -> Self:
221221
"""
222222
...
223223

224-
def drop_columns(self, *labels: str) -> Self:
224+
def drop(self, *labels: str) -> Self:
225225
"""Drop the specified column(s).
226226
227227
Parameters
@@ -240,7 +240,7 @@ def drop_columns(self, *labels: str) -> Self:
240240
"""
241241
...
242242

243-
def rename_columns(self, mapping: Mapping[str, str]) -> Self:
243+
def rename(self, mapping: Mapping[str, str]) -> Self:
244244
"""Rename columns.
245245
246246
Parameters
@@ -863,7 +863,7 @@ def join(
863863
864864
Other than the joining column name(s), no column name is allowed to appear in
865865
both `self` and `other`. Rename columns before calling `join` if necessary
866-
using :meth:`rename_columns`.
866+
using :meth:`rename`.
867867
868868
Parameters
869869
----------

0 commit comments

Comments
 (0)