Reputation: 35
I want to read a specific line in a csv file in pandas on python.Here on this image I want to read the 19010101 date enter image description here
Upvotes: 0
Views: 341
Reputation: 106
You can specify the column you want to use
df=read_csv(yourcsv.csv)
dates = df['DATE'].values.tolist()
print(dates[0])
Bunch of ways to do this, just depends on your requirements. Iloc function might be of use to you too.
Upvotes: 1