-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
REF: pass str_rep through arithmetic ops more consistently #31297
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
Conversation
Hello @jbrockmendel! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-02-22 15:50:32 UTC |
@@ -748,7 +748,7 @@ def f(self, other, axis=default_axis, level=None): | |||
return _combine_series_frame(self, other, op, axis=axis) | |||
else: | |||
# in this case we always have `np.ndim(other) == 0` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see my comment on your other PR. I would rather not do this as another arg, better is to create a NamedTuple that holds both and pass that around
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another alternative would be to make the getting of str_rep a dict lookup in expressions
closing to clear the queue |
re-opening, this is a step on the path to doing frame-with-frame ops blockwise |
lgtm. rebase ping on green. |
rebased+green |
thanks |
This doesn't get all of the places where we fail to pass str_rep, still working out a couple of places where passing it breaks tests.