Open longye-tian opened 1 week ago
thanks @longye-tian. Very nice review.
I believe the plt.savefig part may not be necessary.
This is saving the figure that we use at the beginning of the lecture using a figure
directive. You're right -- it may not be necessary but perhaps we should copy of the code that is used to generate that figure and add it to _static/lecture_specific/long_run_growth
in a figures.ipynb
notebook.
Dear John @jstac and Matt @mmcky ,
After reviewing the lecture long_run_growth.ipynb (related to #350 ), I don't see any deprecated or significantly changed functionality that would require updates related to
pandas >=2.0
. The code appears to be compatible with recent pandas versions.In the last block of code in section Early industrialization:
I believe the
plt.savefig
part may not be necessary. When I run this code in my Jupyter Notebook, it generates an error. Removing this part should still allow the plot to be generated successfully.Do you think we should change this code?
Here are the details for reviewing the pandas-related code in this lecture.
Reading Excel files:
This is still valid in recent pandas versions.
DataFrame:
These operations are still valid.
DataFrame:
This is still valid.
Interpolation:
This method is still supported.
Plotting:
This plotting method is still valid.
Columns
This is still supported.
DateTime conversion:
This is still valid.
Best ❤️ Longye