Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 01 Not defined error #14

Closed
bhatz829-zz opened this issue Oct 4, 2021 · 2 comments
Closed

Chapter 01 Not defined error #14

bhatz829-zz opened this issue Oct 4, 2021 · 2 comments

Comments

@bhatz829-zz
Copy link

df = df_all_dates.join(df[['adj_close']], how='left')
.fillna(method='ffill')
.asfreq('M')

This is the line with the error. It says df is not defined.

@erykml
Copy link
Collaborator

erykml commented Oct 13, 2021

Hi! You also need to run the code from the How to do it... section, it will execute without errors then :)

@shruthis-shetty
Copy link
Collaborator

Hi @bhatz829 , I hope the solution given by @erykml is useful. Let us know the updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants