Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Issues with pyfolio (running for the first time)

hi, I just downloaded pyfolio to my python 3.7 and running my return series for AAPL through it to get on the graphs (see codes below). I keep getting error.

AttributeError: module 'pyfolio' has no attribute 'create_returns_tear_sheet'

df = pd.read_csv('data.csv',index_col='Date',parse_dates=True).dropna()
dff = df.pct_change().dropna()
aapl = dff['AAPL']
pf.create_returns_tear_sheet(aapl)

I just wanted to check the graphs etc. Strangely, when I run the codes in my console it does run and produces some graphs, which are quite difficult to read/ understand tbh. Anyone has had this issue?