Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
v0.15.0 Can't read csv.gz from url #8685
Comments
|
Is this a documented behavior that is supposed to work? It doesn't seem like the current code handles reading a compressed file from a URL from a quick glance at it. |
|
We would have to add something similar to this so |
|
yep this looks not supported at the moment welcome a pull request to fix |
jreback
added CSV Enhancement
labels
Oct 31, 2014
jreback
added this to the
Someday
milestone
Oct 31, 2014
|
+1, this is an important feature for the modern workflow Until someday, I've been using the following workaround in Python 3.4 and Pandas 0.16.0: response = requests.get(url)
bytes_io = io.BytesIO(response.content)
with gzip.open(bytes_io, 'rt') as read_file:
df = pandas.read_csv(read_file) |
|
@dhimmel pull-requests are welcome to add this feature. |
mdagost
referenced
this issue
Jul 21, 2015
Merged
ENH: allow gzip de-compression for files specified by a url #10649
jreback
modified the milestone: 0.17.0, Someday
Jul 23, 2015
|
closed by #10649 |
jreback
closed this
Aug 20, 2015
dhimmel
added a commit
to dhimmel/bindingdb
that referenced
this issue
Nov 19, 2015
|
|
dhimmel |
36097bc
|
dhimmel
referenced
this issue
Nov 2, 2016
Closed
Reading bz2, zip, and xz-compressed files from URL fails #14570
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
olgabot commentedOct 30, 2014
But the local file works:
I have v0.15.0