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

remove dtype from to_array #325

Merged
merged 4 commits into from
Nov 23, 2023

Conversation

MarcoGorelli
Copy link
Contributor

similar to #293

Comment on lines 924 to 925
and multiple columns' dtypes are combined according to the Array API's
type promotion rules.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe link off to the type promotion rules? https://data-apis.org/array-api/latest/API_specification/type_promotion.html

Also, they don't define rules for mixed integer and floating-point types and specify it as implementation defined. Are we good with that as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call, have added

yeah that sounds fine to me, you OK with it too?

@MarcoGorelli MarcoGorelli added API design ergonomics Let's make an API that's a pleasure to use labels Nov 21, 2023
Comment on lines 834 to 835
and multiple columns' dtypes are combined according to the Array API's
type promotion rules.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we want to link to the array API docs on these type promotion rules?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, forgot to push, have done so now

…dataframe-api into remove-dtype-from-to-array
@MarcoGorelli MarcoGorelli merged commit 857608f into data-apis:main Nov 23, 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