Posts by Pedro Grosman • 11 points
2 posts
-
0
votes1
answer46
viewsA: Stack data from a list in pandas
Tried to use list comprehension? It seems to me that your code is not very suitable to perform the desired terefa. Try to change this yours for by the following l = [pd.read_csv(i,sep=';') for i in…
pandasanswered Pedro Grosman 11 -
1
votes2
answers407
viewsA: Chart with Seaborn with one of the axes being the index
Felipe, the barplot method cannot interpret 'covid_By_state.index' because its dataframe has no column with this name. Create a column with another name (state, for example) and feed it the states…