-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
BUG: Infer compression by default in read_fwf() (#22199) #22200
BUG: Infer compression by default in read_fwf() (#22199) #22200
Conversation
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.
Looks fine, needs a test.
Codecov Report
@@ Coverage Diff @@
## master #22200 +/- ##
=======================================
Coverage 92.3% 92.3%
=======================================
Files 163 163
Lines 51943 51943
=======================================
Hits 47946 47946
Misses 3997 3997
Continue to review full report at Codecov.
|
can you merge master and update |
a5898f8
to
b0c6c4a
Compare
Hello @NasaGeek! Thanks for updating the PR. Cheers ! There are no PEP8 issues in this Pull Request. 🍻 Comment last updated on December 24, 2018 at 00:18 Hours UTC |
Rebased and expanded a test |
can you merge master and update according to fixtures as pointed to by @gfyoung |
@NasaGeek can you merge master and update |
Happy to rebase, @jreback, but unfortunately I don't yet have an approach to your parametrization request. The available fixture doesn't quite give me enough to work with by itself. It looks like pandas.util.testing.decompress_file may provide a solution if it's augmented to allow return writable file objects. The issue there is that the open function in python2's zipfile module will not give back writable files. Would you be willing to miss coverage on zipfile in python2? If so, what's the best way to skip it? |
@NasaGeek : You raise some good points regarding the fixtures. I'm going to first do some refactoring on the |
b0c6c4a
to
171a640
Compare
Just wanted to confirm you didn't need anything else from me on this PR. @gfyoung's changes look fine to me. |
171a640
to
6b36015
Compare
lgtm. ping on green. @jbrockmendel if you have comments. |
@jreback : Tests are all green. PTAL. @jbrockmendel : Any other thoughts? |
Alrighty, I think we have enough approvals here 😉 |
Thanks @NasaGeek for contributing to this! |
* upstream/master: (26 commits) DOC: Fixing doc upload (no such remote origin) (pandas-dev#24459) BLD: for C extension builds on mac, target macOS 10.9 where possible (pandas-dev#24274) POC: _eadata (pandas-dev#24394) DOC: Correct location (pandas-dev#24456) CI: Moving CircleCI build to Travis (pandas-dev#24449) BUG: Infer compression by default in read_fwf() (pandas-dev#22200) DOC: Fix minor typo in whatsnew (pandas-dev#24453) DOC: Add dateutil to intersphinx pandas-dev#24437 (pandas-dev#24443) DOC: Adding links to offset classes in timeseries.rst (pandas-dev#24448) DOC: Adding offsets to API ref (pandas-dev#24446) DOC: fix flake8 issue in groupby.rst (pandas-dev#24363) DOC: Fixing more doc warnings (pandas-dev#24438) API: Simplify repeat signature (pandas-dev#24447) BUG: to_datetime(Timestamp, utc=True) localizes to UTC (pandas-dev#24441) CLN: Cython Py2/3 Compatible Imports (pandas-dev#23940) DOC: Fixing more doc warnings (pandas-dev#24431) DOC: Removing old release.rst (pandas-dev#24427) BUG-24408 Series.dt does not maintain own copy of index (pandas-dev#24426) DOC: Fixing several doc warnings (pandas-dev#24430) ENH: fill_value argument for shift pandas-dev#15486 (pandas-dev#24128) ...
git diff upstream/master -u -- "*.py" | flake8 --diff