I am new to learning python and am hoping to receive a little clarity.
If I have some python code that looks like the following:
for row in my_data:
for w in row[1:]:
Is that essentially saying:
- For each row in the my_data.csv
- For each column, in the current row in the my_data.csv, starting at the second column (Column B)
I am trying to understand more directly what the syntax row[1:]
means. I have not successfully found documentation that answers that.
Thanks.