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:

Calcolare le frequenze cumulate per gli anni di first appearance e mostrare i primi 10

Author: federico volpe

calcolare le frequenze cumulate per gli anni di first appearance e mostrare i primi 10



Answer:

(introduizone di crosstab) first_app_freq_cumulate = (pd.crosstab(index=heroes_with_year['First appearance'], columns=['Cumulate freq.'], colnames=['']) .cumsum()) first_app_freq_cumulate.iloc[:10]


0 / 5  (0 ratings)

1 answer(s) in total