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

Add DataFrame.iter_columns() and simplify #326

Closed MarcoGorelli closed 11 months ago

MarcoGorelli commented 12 months ago

This simplifies a few examples and makes things more ergonomic

Can't just use DataFrame.columns as pandas / Polars already use that for column names unfortunately

cbourjau commented 11 months ago

Can't just use DataFrame.columns as pandas / Polars already use that for column names unfortunately

Out of curiosity: Is it a general design principle to avoid function names that exist in Pandas/Polars but have different semantics there?

MarcoGorelli commented 11 months ago

I don't think it's been written out, but tbh I'd prefer that

MarcoGorelli commented 11 months ago

approved in today's call