SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

statistica/python

» Start this Course
(Practice similar questions for free)
Question:

Quale tipo di grafico è meglio utilizzare per rappresentare i dati di tipo qualitativo? mostra quanti supereroi apparsi prima del 2020 ci sono per ogni publisher

Author: federico volpe



Answer:

Heroes_with_year = heroes[heroes['First appearance'] < 2020] heroes_with_year['Publisher'].value_counts().plot.bar() plt.show() ---------------------------------------oppure:--------------------------------------- publisher_freq.plot.bar() plt.show()


0 / 5  (0 ratings)


heroes_with_year = heroes[heroes['First appearance'] < 2020]
heroes_with_year['Publisher'].value_counts().plot.bar()
plt.show()
---------------------------------------oppure:---------------------------------------
publisher_freq.plot.bar()
plt.show()
1 answer(s) in total