Skip to content

Commit

Permalink
drop unnecessary _columns (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli authored Dec 19, 2023
1 parent 07dbf57 commit 01f6d94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/API_specification/dataframe_api/dataframe_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def assign(self, *columns: Column) -> Self:
"""
...

def drop_columns(self, *labels: str) -> Self:
def drop(self, *labels: str) -> Self:
"""Drop the specified column(s).
Parameters
Expand All @@ -240,7 +240,7 @@ def drop_columns(self, *labels: str) -> Self:
"""
...

def rename_columns(self, mapping: Mapping[str, str]) -> Self:
def rename(self, mapping: Mapping[str, str]) -> Self:
"""Rename columns.
Parameters
Expand Down Expand Up @@ -863,7 +863,7 @@ def join(
Other than the joining column name(s), no column name is allowed to appear in
both `self` and `other`. Rename columns before calling `join` if necessary
using :meth:`rename_columns`.
using :meth:`rename`.
Parameters
----------
Expand Down

0 comments on commit 01f6d94

Please sign in to comment.