Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DataFrame.iter_columns() and simplify #326

Merged
merged 6 commits into from
Dec 7, 2023

Conversation

MarcoGorelli
Copy link
Contributor

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

@MarcoGorelli MarcoGorelli changed the title Add DataFrame.columns_iter() and simplify Add DataFrame.iter_columns() and simplify Nov 23, 2023
@cbourjau
Copy link
Contributor

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
Copy link
Contributor Author

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

@MarcoGorelli
Copy link
Contributor Author

approved in today's call

@MarcoGorelli MarcoGorelli merged commit 8ecbea3 into data-apis:main Dec 7, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API design ergonomics Let's make an API that's a pleasure to use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants