Posts by Luiz • 26 points
2 posts
-
1
votes2
answers407
viewsA: Chart with Seaborn with one of the axes being the index
I went through the same situation today. plt.figure(figsize=(20,10)) sns.barplot(data=df, x='mortes_confirmadas', y=df.index) plt.show()
-
-1
votes2
answers16188
viewsA: How to compare two lists in Python?
Maybe if you use the expression: list(filter(lambda x: x in lista1, lista2))