Skip to content

TST: Add test for C parser handling binary mode #24797

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

Conversation

gfyoung
Copy link
Member

@gfyoung gfyoung commented Jan 16, 2019

Python's native CSV library doesn't accept such files, but we do for the C parser.

Closes #23779.

@gfyoung gfyoung added Testing pandas testing functions or related to the test suite IO CSV read_csv, to_csv labels Jan 16, 2019
@gfyoung gfyoung added this to the 0.24.0 milestone Jan 16, 2019
@TomAugspurger
Copy link
Contributor

Hoping your errors will be fixed by #24707

@jreback
Copy link
Contributor

jreback commented Jan 16, 2019

lgtm. after CI fixes are merge, let's repush and merge on green.

Python's native CSV library doesn't accept such
files, but we do for the C parser.

Closes pandas-devgh-23779.
@gfyoung gfyoung force-pushed the c-parser-binary-mode-file-test branch from 0729d6e to cbe8804 Compare January 16, 2019 18:01
@codecov
Copy link

codecov bot commented Jan 16, 2019

Codecov Report

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

Impacted file tree graph

@@             Coverage Diff             @@
##           master   #24797       +/-   ##
===========================================
- Coverage   92.38%   42.93%   -49.46%     
===========================================
  Files         166      166               
  Lines       52382    52382               
===========================================
- Hits        48395    22488    -25907     
- Misses       3987    29894    +25907
Flag Coverage Δ
#multiple ?
#single 42.93% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/io/formats/latex.py 0% <0%> (-100%) ⬇️
pandas/core/categorical.py 0% <0%> (-100%) ⬇️
pandas/io/sas/sas_constants.py 0% <0%> (-100%) ⬇️
pandas/tseries/plotting.py 0% <0%> (-100%) ⬇️
pandas/tseries/converter.py 0% <0%> (-100%) ⬇️
pandas/io/formats/html.py 0% <0%> (-99.35%) ⬇️
pandas/core/groupby/categorical.py 0% <0%> (-95.46%) ⬇️
pandas/io/sas/sas7bdat.py 0% <0%> (-91.17%) ⬇️
pandas/io/sas/sas_xport.py 0% <0%> (-90.15%) ⬇️
pandas/core/tools/numeric.py 10.44% <0%> (-89.56%) ⬇️
... and 123 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 0bf62b3...cbe8804. Read the comment docs.

@codecov
Copy link

codecov bot commented Jan 16, 2019

Codecov Report

Merging #24797 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #24797      +/-   ##
==========================================
- Coverage   92.38%   92.38%   -0.01%     
==========================================
  Files         166      166              
  Lines       52382    52382              
==========================================
- Hits        48395    48394       -1     
- Misses       3987     3988       +1
Flag Coverage Δ
#multiple 90.81% <ø> (ø) ⬆️
#single 42.93% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/util/testing.py 88.04% <0%> (-0.1%) ⬇️

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 0bf62b3...cbe8804. Read the comment docs.

@gfyoung gfyoung merged commit 17a6bc5 into pandas-dev:master Jan 16, 2019
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Python's native CSV library doesn't accept such
files, but we do for the C parser.

Closes pandas-devgh-23779.
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Python's native CSV library doesn't accept such
files, but we do for the C parser.

Closes pandas-devgh-23779.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO CSV read_csv, to_csv 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