-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
xz compression in to_csv() #11852
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
Comments
I suppose if someone wanted to add additional compressor to read/write csv, this would be ok. can you point to the canonical package which implements this compressor? |
I haven't tried it myself, but it looks like for python 3 it would be https://docs.python.org/3/library/lzma.html. For 2.7 this looks like it: https://github.com/peterjc/backports.lzma |
sure that looks reasonable. |
Thanks! I'll be using this immediately when the version comes out. |
I use compression directly in DataFrame.to_csv() to save on disk space / IO. Would be nice to have support for xz compression there.
Similar to https://github.com/pydata/pandas/issues/8654, but I think in to_csv this has more added value.
The text was updated successfully, but these errors were encountered: