-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
API: Add compression argument to Series.to_csv #19216
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
Conversation
Hello @reidy-p! Thanks for updating the PR. Cheers ! There are no PEP8 issues in this Pull Request. 🍻 Comment last updated on January 14, 2018 at 23:47 Hours UTC |
Codecov Report
@@ Coverage Diff @@
## master #19216 +/- ##
==========================================
- Coverage 91.55% 91.52% -0.04%
==========================================
Files 147 147
Lines 48812 48827 +15
==========================================
- Hits 44690 44689 -1
- Misses 4122 4138 +16
Continue to review full report at Codecov.
|
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.
see comments
@jreback did you post comments? I can't see any. |
sorry, see #19226 want to parametrize these tests |
cf32368
to
d8a8753
Compare
pandas/tests/series/test_io.py
Outdated
('gzip', gzip.open), | ||
('bz2', bz2.BZ2File), | ||
(pytest.param('xz', lzma.open, marks=td.skip_if_no_lzma)), | ||
def decompress_file(self, src_path, compression): |
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.
can u move this function to pandas.util.testing as it’s more generally useful for testing
84881db
to
9313f37
Compare
9313f37
to
33a90dc
Compare
@gfyoung I agree, but it puts this in a central location at least for now. |
thanks @reidy-p ok would love to work on centralizing the compression tests! |
git diff upstream/master -u -- "*.py" | flake8 --diff