-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REF: use extract_array in DataFrame.combine_first #37731
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
lgtm cc @jbrockmendel |
the extract_array part looks good, but not clear why the needs_i8_conversion part can be removed safely |
pandas/core/frame.py
Outdated
x_values = extract_values(x) | ||
y_values = extract_values(y) | ||
x_values = extract_array(x) | ||
y_values = extract_array(y) |
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.
i guess pass extract_numpy=True
on these
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.
Done
I reverted it Although CI is not passing without for lack of testing with datelike input - AFAICT we have good (but maybe not water-tight) coverage there |
it may be unnecessary (in fact i hope it is), just want to have an idea why its unnecessary (or at least make sure we have relevant test coverage) |
Ok! Checked that both parts of the if/else clause inside
|
dc20092
to
63a54a0
Compare
thanks @arw2019 |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff