Skip to content

Rename get_column_names to column_names and make property #254

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

Merged
merged 3 commits into from
Sep 27, 2023

Conversation

MarcoGorelli
Copy link
Contributor

Similar to #245 and #246, trying to improve ergonomics whilst we're still "beta"

I think we've agreed that although the number of rows (and their ordering) isn't always known, we do always know the number of columns (if we didn't, then get_column_names would already be broken), and that this shouldn't really involve any compute

@MarcoGorelli
Copy link
Contributor Author

there weren't any objections last time, and schema is already a property, and nobody's commented in 3 weeks, so I'll go ahead and merge

@MarcoGorelli MarcoGorelli merged commit 950c07d into data-apis:main Sep 27, 2023
MarcoGorelli added a commit to MarcoGorelli/dataframe-api that referenced this pull request Sep 27, 2023
…pis#254)

* get_column_names -> column_names property

* get_column_names -> column_names
MarcoGorelli added a commit that referenced this pull request Sep 28, 2023
* remove unused typevars, make dtype type alias

* Rename `get_column_names` to `column_names` and make property (#254)

* get_column_names -> column_names property

* get_column_names -> column_names

* add namespace protocol

* fixup

* add examples

* add plotting example

* fixup;

* redirect examples

* type check;

* exclude examples from conf.py

* post-merge fixup

* add other example

* fixup example;

* noop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant