Created
October 28, 2018 14:38
-
-
Save AALEKH/3871fcc400e99741708d7fe4cd62ec89 to your computer and use it in GitHub Desktop.
Starter code for most of the csv data
This file contains 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
f = open("enter_file_name", 'r') | |
data = f.read() | |
rows = data.split('\n') | |
weather_data = [] | |
for row in rows: | |
sp_row = row.split(',') | |
weather_data.append(sp_row) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment