First of all, let me say that I'm extremely new to Python or some kind of programming program. In addition, I was not sure what to put as the name, sorry. So, I opened this csv file, then split and separated the commas, and then to check, I printed it out and it gave me this (only some example numbers):
['1','2','3','4'] ['5','6','7','8'] ['9','10','11','12']
I was wondering if there is a way to index rows instead of columns, for example if I try to print my_list [0] this will give me 1 5 9
instead of ['1', '2', '3', '4']. My actual problem is that I need to convert the csv data into a series of tuples with elements that are facing integers, and be able to select any of the lines for further processing.
I am not familiar with the many modules that I have seen on this site. I liked the really basic encoding if possible (although sometimes it is inefficient)
Thanks!
source share