import csv
f = open('age.csv',encoding='utf8')
data = csv.reader(f)
for row in data :
if '신도림' in row[0]:
for i in row[3:]:
print(i)
Hello, I just started python data analysis yesterday. csv file that I am using is about population survey based on ages and I got this question now. When I use row[3] it gives me something like this
3
2
6
but when I use row[3:] it gives me the correct answer.
326
457
345
.
.
.
What is different between these two? Thank you for your helping.