When I executing the sentence ax = stats.df_valor.to_drawdown_series().plot()
it returns the error
`---------------------------------------------------------------------------
NameError Traceback (most recent call last)
in
1 # what about the drawdowns?
----> 2 ax = stats.df_valor.to_drawdown_series().plot()
NameError: name 'stats' is not defined
1
`
Imported módules:
`....
from scipy.stats import skew,kurtosis,norm,skewtest,kurtosistest
....`
What can be the cause?. I will appreciate help.
Dear All
When I executing the sentence
ax = stats.df_valor.to_drawdown_series().plot()
it returns the error `--------------------------------------------------------------------------- NameError Traceback (most recent call last)