All Questions
2 questions
0
votes
1
answer
589
views
Format problem: pandas df.values.tolist() is converting rows into lists but lists each have just one item
Table with 4 Columns and 10 Rows. Reading in as dataframe(df).
Then from there using lists = df.values.tolist() produces
print(lists)
Outcome:
[['30;30;30;0'], ['30;30;30;0'], ['30;30;30;0'], ['30;30;...
1
vote
1
answer
135
views
Iterating over a list parsed over from a cvs. column
I am trying to iterate over a list that contains temperatures.
Appending the data/temperatures from a csv file to a list data structure was a not an issue. The problem occures when i want to count ...