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

Merge asof with nans #23190

Merged
merged 15 commits into from
Oct 17, 2018
Merged

Merge asof with nans #23190

merged 15 commits into from
Oct 17, 2018

Conversation

svenharris
Copy link
Contributor

Fix to raise a more meaningful error message when attempting to merge_asof with missing values

@pep8speaks
Copy link

pep8speaks commented Oct 16, 2018

Hello @svenharris! Thanks for updating the PR.

Line 816:9: E731 do not assign a lambda expression, use a def
Line 817:9: E731 do not assign a lambda expression, use a def
Line 1470:9: E731 do not assign a lambda expression, use a def
Line 1617:5: E731 do not assign a lambda expression, use a def

Line 439:9: E731 do not assign a lambda expression, use a def

Comment last updated on October 16, 2018 at 20:11 Hours UTC

@svenharris
Copy link
Contributor Author

Not sure why the pep8 speaks is flagging lines that weren't updated in this PR, I think I may have messed up the git history somewhere

@codecov
Copy link

codecov bot commented Oct 16, 2018

Codecov Report

Merging #23190 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #23190      +/-   ##
==========================================
+ Coverage   92.19%   92.19%   +<.01%     
==========================================
  Files         169      169              
  Lines       50959    50964       +5     
==========================================
+ Hits        46980    46985       +5     
  Misses       3979     3979
Flag Coverage Δ
#multiple 90.61% <100%> (ø) ⬆️
#single 42.29% <11.11%> (-0.01%) ⬇️
Impacted Files Coverage Δ
pandas/core/reshape/merge.py 93.94% <100%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 913f71f...e954263. Read the comment docs.

@jreback jreback added Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Reshaping Concat, Merge/Join, Stack/Unstack, Explode Error Reporting Incorrect or improved errors from pandas labels Oct 17, 2018
@jreback jreback added this to the 0.24.0 milestone Oct 17, 2018
@jreback
Copy link
Contributor

jreback commented Oct 17, 2018

@svenharris very nice. can you merge master. ping on green. the CI was giving some trouble before.

@jreback jreback merged commit cd863d3 into pandas-dev:master Oct 17, 2018
@jreback
Copy link
Contributor

jreback commented Oct 17, 2018

actually this is fine, the CI failure is not yet fixed (but unrelated to this PR)

@jreback
Copy link
Contributor

jreback commented Oct 17, 2018

keep em coming!

@svenharris svenharris deleted the merge_asof_with_nans branch October 17, 2018 06:02
@TomAugspurger TomAugspurger mentioned this pull request Oct 17, 2018
2 tasks
tm9k1 pushed a commit to tm9k1/pandas that referenced this pull request Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Reporting Incorrect or improved errors from pandas Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Merge_asof error message unclear when attempting to join on missing values
4 participants