Created
June 27, 2014 03:31
-
-
Save betodealmeida/91d931c77e5d13f311b1 to your computer and use it in GitHub Desktop.
Pydap CSV essentials
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
| def stream(self): | |
| with open(self.filepath, 'Ur') as fp: | |
| reader = csv.reader(fp) | |
| reader.next() # consume var names | |
| for row in reader: | |
| yield row |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment