data-apis / dataframe-api

RFC document, tooling and other content related to the dataframe API standard
https://data-apis.org/dataframe-api/draft/index.html
MIT License
102 stars 20 forks source link

rename: drop_columns -> drop, rename_columns -> rename #340

Closed MarcoGorelli closed 11 months ago

MarcoGorelli commented 11 months ago

In general, most methods which work on columns don't have a _columns suffix:

I suggest just having DataFrame.drop and DataFrame.rename then (it's not like they're ambiguous - we don't have row labels in the standard, so it's not like they can refer to row labels...)