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 Scalar.scalar #336

Merged
merged 2 commits into from
Dec 4, 2023
Merged

Conversation

MarcoGorelli
Copy link
Contributor

There are already:

  • DataFrame.dataframe
  • Column.column

so I think there should also be Scalar.scalar

This also solves the problem of how to get the scalar object our of a Scalar if it's not one you can call __bool__ on (say, to get a Python scalar out of a Duration column)

@MarcoGorelli MarcoGorelli merged commit fed1a69 into data-apis:main Dec 4, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants