Skip to content

centralize and split frame division tests #19527

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

Merged
merged 2 commits into from
Feb 6, 2018

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

@codecov
Copy link

codecov bot commented Feb 3, 2018

Codecov Report

Merging #19527 into master will decrease coverage by 5.52%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #19527      +/-   ##
==========================================
- Coverage   91.62%   86.09%   -5.53%     
==========================================
  Files         150      150              
  Lines       48680    48681       +1     
==========================================
- Hits        44603    41914    -2689     
- Misses       4077     6767    +2690
Flag Coverage Δ
#multiple 86.09% <ø> (-3.9%) ⬇️
#single 32.38% <ø> (-9.36%) ⬇️
Impacted Files Coverage Δ
pandas/io/s3.py 0% <0%> (-86.37%) ⬇️
pandas/core/computation/align.py 18.94% <0%> (-78.95%) ⬇️
pandas/io/pytables.py 19.7% <0%> (-72.76%) ⬇️
pandas/io/feather_format.py 20% <0%> (-65.72%) ⬇️
pandas/core/computation/pytables.py 29.87% <0%> (-62.5%) ⬇️
pandas/io/html.py 32.08% <0%> (-53.9%) ⬇️
pandas/core/computation/expressions.py 45.37% <0%> (-47.9%) ⬇️
pandas/io/parquet.py 25.22% <0%> (-46.85%) ⬇️
pandas/io/formats/excel.py 51.64% <0%> (-45.73%) ⬇️
pandas/core/computation/engines.py 53.96% <0%> (-34.93%) ⬇️
... and 19 more

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 e8620ab...f30e0bf. Read the comment docs.

@gfyoung gfyoung added Testing pandas testing functions or related to the test suite Clean labels Feb 3, 2018
second = pd.Series([np.nan, np.nan, np.nan, 0])
expected = pd.DataFrame({'first': first, 'second': second})

# numpy has a slightly different (wrong) treatement
Copy link
Member

@gfyoung gfyoung Feb 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

treatement --> treatment (fix this everywhere)

# GH#3590, modulo as ints
df = pd.DataFrame({'first': [3, 4, 5, 8], 'second': [0, 0, 0, 3]})

# this is technically wrong as the integer portion is coerced to float
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comma between "wrong" and "as"

@jreback jreback added this to the 0.23.0 milestone Feb 6, 2018
@jreback jreback merged commit a22acc2 into pandas-dev:master Feb 6, 2018
@jreback
Copy link
Contributor

jreback commented Feb 6, 2018

thanks!

@jbrockmendel jbrockmendel deleted the df-div_tests branch February 11, 2018 21:39
harisbal pushed a commit to harisbal/pandas that referenced this pull request Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants