-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
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
Allow Panel arith methods for types other than scalars #4971
Comments
@jreback Is there a general way to think about arith methods for NDFrames? From what I can tell.
I think those rules should be true for all NDFrames, regardless of dimensions. However, this breaks down in my head when it comes to #4 and Panel/4D.
However, Is the issue that technically axis should be Probably overthinking it but wanted a programatic way to test arith methods on all NDFrame subclasses. |
see the and on anything > 2 dims we don't (or shouldn't) support an ndarray because its unclear how to align it (unless it exactly matches dims, so its clear) - I don't think is really tested either (though maybe combine falls thru and so it raises) IOW, leary of doing any sort of automatic broadcasting with > 2 dims (except via specific as far as those go, there is a note in the docs about how wes decided to handle them, somewhere in basicas. (so i think you are right in that regards). |
Hey all, please wait on this until after I refactor arithmetic. I'd rather you work on this after I've set up the general structure, rather than me having to wrap my head around something new and try not to break it while refactoring. |
closing as Panels are deprecated |
Taken from #4960
Currently Panel arith methods only work with scalars.
jreback@adf9d48
removes the explicit check, but need to make sure it works with tests.
The text was updated successfully, but these errors were encountered: