Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
The behavior of the "compression" argument is unexpected. It doesn't have any effect. Although it is documented that it is only applied if there is a filename argument, there should at very least be a warning if compression is set, but no filename is given.
Also: Why doesn't it have an effect? Couldn't we output a bytes object?
Code Sample
Problem description
The behavior of the "compression" argument is unexpected. It doesn't have any effect. Although it is documented that it is only applied if there is a filename argument, there should at very least be a warning if compression is set, but no filename is given.
Also: Why doesn't it have an effect? Couldn't we output a bytes object?