0

I am importing data from a csv. The first line of data is bringing in "0". The first line in the csv is 0 and I made sure that nothing was in front of the numbers. How can i get rid of  ?

with open('C:\\Users\jez40\Desktop\Tide_Data.csv', 'r') as data_file:
     data = csv.reader(data_file, delimiter=',')
     for i in data:
     t = i[0]

here are the first few lines of the csv:
0, 1388.143433
5, 1388.143433
10, 1388.14624
15, 1388.147217
20, 1388.150024

artomason
  • 3,625
  • 5
  • 20
  • 43

0 Answers0