Question:
Mostrare la funzione cumulativa empirica per l'anno di prima apparizione
Author: federico volpe
Answer:
Import statsmodels.api as sm ecdf = sm.distributions.ECDF(heroes_with_year['First appearance']) x = np.arange(1980, 1991) y = ecdf(x) plt.step(x, y) plt.show()
0 / 5 Â (0 ratings)
1 answer(s) in total