Commit 4dbe60d
committed
Comprehensive improvements to Polars lecture
- Fix execution errors and deprecation warnings
- Add pyarrow dependency for Polars to pandas conversion
- Fix lazy evaluation method: replace describe_optimized_plan() with explain()
- Update deprecated join syntax: how='outer' to how='full'
- Fix yfinance integration with coalesce=True for different trading calendars
- Apply QuantEcon style guide compliance:
- Convert headings from title case to sentence case
- Split multi-sentence paragraphs per qe-writing-002 rule
- Fix proper noun capitalization (polars -> Polars)
- Add lazy evaluation section with query optimization examples
- Expand exercises with comprehensive stock analysis examples
- Enhance plotting with markers, reference lines, and debugging info
- Fix replace() deprecation warning: use replace_strict()
- Add data validation and debugging output to exercises
- Improve visualization with better styling and error handling
All code cells now execute successfully with Polars 1.33.11 parent ea41ee3 commit 4dbe60d
1 file changed
+17
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
778 | | - | |
| 778 | + | |
779 | 779 | | |
780 | 780 | | |
781 | 781 | | |
| |||
875 | 875 | | |
876 | 876 | | |
877 | 877 | | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
878 | 885 | | |
879 | 886 | | |
880 | 887 | | |
| |||
888 | 895 | | |
889 | 896 | | |
890 | 897 | | |
891 | | - | |
892 | | - | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
893 | 902 | | |
894 | | - | |
| 903 | + | |
895 | 904 | | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
896 | 908 | | |
897 | 909 | | |
898 | 910 | | |
| |||
0 commit comments