Posts by esabin • 9 points
2 posts
-
-1
votes1
answer73
viewsQ: List Comprehension returning zero
Guys, I need your help. I have a code in python that I would like to return the amount of values that meet a criterion, but it is returning zero. The txt file contains data like this:…
-
-1
votes1
answer19
viewsQ: Return specific column with csv library
I have a sheet with 4 columns and 2 rows and I want to return the column age, without the column identifier, only the contents of the rows. Code: import csv def get_column_of_csv(filename, column):…