Skip to content

BUG: Validate the skipfooter parameter in read_csv #15945

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 1 commit into from
Apr 8, 2017

Conversation

gfyoung
Copy link
Member

@gfyoung gfyoung commented Apr 7, 2017

Previously, the skipfooter parameter was assumed to be an integer, but that was not checked.

xref #15925 (comment)

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

lgtm ping on green

@jreback jreback added Error Reporting Incorrect or improved errors from pandas IO CSV read_csv, to_csv labels Apr 7, 2017
@jreback jreback added this to the 0.20.0 milestone Apr 7, 2017
@gfyoung gfyoung force-pushed the skipfooter-validate branch from c05a07e to 385c780 Compare April 7, 2017 21:00
Previously, the skipfooter parameter was assumed to
be an integer, but that was not checked.
@gfyoung gfyoung force-pushed the skipfooter-validate branch from 385c780 to baa3415 Compare April 8, 2017 00:42
@gfyoung
Copy link
Member Author

gfyoung commented Apr 8, 2017

@jreback : Seemingly unrelated OSX failure has emerged on master after your commit here.

@jreback
Copy link
Contributor

jreback commented Apr 8, 2017

yeah been happening in several builds
restarting has mostly fixed

@gfyoung
Copy link
Member Author

gfyoung commented Apr 8, 2017

@jreback : Hmm...okay, let me know once master starts passing again. Then I'll resubmit for building. Otherwise, it is ready to merge.

@codecov
Copy link

codecov bot commented Apr 8, 2017

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #15945      +/-   ##
==========================================
+ Coverage   90.99%   90.99%   +<.01%     
==========================================
  Files         145      145              
  Lines       49565    49569       +4     
==========================================
+ Hits        45101    45105       +4     
  Misses       4464     4464
Flag Coverage Δ
#multiple 88.76% <100%> (ø) ⬆️
#single 40.56% <14.28%> (-0.01%) ⬇️
Impacted Files Coverage Δ
pandas/io/parsers.py 95.65% <100%> (+0.01%) ⬆️

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 d60f490...baa3415. Read the comment docs.

@gfyoung
Copy link
Member Author

gfyoung commented Apr 8, 2017

@jreback : Oh, seems like the rebuild finished successfully. All green and ready to go now.

@jreback
Copy link
Contributor

jreback commented Apr 8, 2017

i restarted build

@jreback jreback merged commit b28eb10 into pandas-dev:master Apr 8, 2017
@jreback
Copy link
Contributor

jreback commented Apr 8, 2017

thanks!

@gfyoung gfyoung deleted the skipfooter-validate branch April 8, 2017 16:35
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 IO CSV read_csv, to_csv
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants