I'm trying to run pf.tears.create_returns_tear_sheet(returns, benmark_rets = bm_returns) where returns and bm_returns are pd.Series (daily returns) with a DatetimeIndex. As I am running the code above, it returns TypeError: Already tz-aware, use tz_convert to convert.
It produces all the graphs up to the Rolling Fama-French Single Factor Betas, but is not able to corretly label the x-axis (with the dates). What am I doing wrong? What is the correct format for the pd.Series?
Hello
I'm trying to run
pf.tears.create_returns_tear_sheet(returns, benmark_rets = bm_returns)
where returns and bm_returns are pd.Series (daily returns) with a DatetimeIndex. As I am running the code above, it returnsTypeError: Already tz-aware, use tz_convert to convert
.It produces all the graphs up to the Rolling Fama-French Single Factor Betas, but is not able to corretly label the x-axis (with the dates). What am I doing wrong? What is the correct format for the pd.Series?