Created
January 21, 2015 11:22
-
-
Save sebble/3dd7f07ca87baca73fc0 to your computer and use it in GitHub Desktop.
Parse a simple CSV file with a Python one-liner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data = array([line.strip().split(',') for line in open('data.csv')]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment