|
|
|
|
|
by zissou
4622 days ago
|
|
As a long time pandas user, I'd say this is one of the better write-ups I've seen that illustrates the versatility and functions of the Series and DataFrame objects without being too long winded. Just one thing to point out regarding the final example: read_csv will actually fetch a URL if it's given as input, so there is no need to use urllib2 and StringIO. Instead, you can just do: from_url = pd.read_csv('http://www.example.com/data.tsv', sep='\t') |
|
Thanks for pointing this out too - had no idea it'd handle a URL.