Quantcast
Channel: Making one list that satisfies the condition - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Martijn Pieters for Making one list that satisfies the condition

You are creating your list for each row, rather than create the list just once outside the loop.You are also reinventing the CSV wheel; use the csv module instead. Because you are picking just the one...

View Article



Making one list that satisfies the condition

I have a CSV file containing the following data:1,1,3,2,2,12,1,3,2,1,13,2,4,2,7,34,1,3,2,3,15,3,3,1,1,1and I would like to create a list that has the elements of sixth column which has 1 for second...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images