-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
review how we duck-type non-numpy inputs #16402
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
Comments
also xref: #16400 |
We don't really ever get complaints from TF or xarray, so the practical question is how much do we special-case pandas, and who will set up the tests, and lead the charge on integration? This is, in my opinion, hampered by not having anyone on the lead-dev team who regularly uses pandas. It would be nice to try and entrain someone who did, who could advocate for changes and/or interface with the pandas project (who I have found are great to work with, but you know, are pushing their own things forward). |
|
Yeah, unfortunately, thats not universal. |
Which libraries are we talking about? pandas, xarray, polars, tensorflow(?), ... I've added a test for xarray in #22560, which also centralizes this, but probably makes sense to add tests for all libraries that is of interest (there was one for pandas). (polars can not yet be installed with conda.) |
We currently do a fair amount of ad-hoc normalization / edge case handling for when we get pandas (or xarray or TF or ...) objects that are close to numpy but not quite (for example #16347 which uses a warning context manager which is extra not-thread-safe in other places we check of
obj.values
).Can we centralize / streamline this logic?
The text was updated successfully, but these errors were encountered: