QuantEcon / lecture-python-intro

An Undergraduate Lecture Series for the Foundations of Computational Economics
https://intro.quantecon.org/
34 stars 17 forks source link

[inflation_history] FIX: compat with Google Colab #439

Closed mmcky closed 1 month ago

mmcky commented 1 month ago

This PR fixes compatibility for inflation_history lecture with Google Collab due to an old version of pandas. This lecture requires pandas>=2.1.4 due to the use of .map

netlify[bot] commented 1 month ago

Deploy Preview for taupe-gaufre-c4e660 ready!

Name Link
Latest commit 397e5da36e0344a98afe1de52ea92b8cfdf5a1aa
Latest deploy log https://app.netlify.com/sites/taupe-gaufre-c4e660/deploys/663b0274db969a00084d7e9b
Deploy Preview https://deploy-preview-439--taupe-gaufre-c4e660.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

mmcky commented 1 month ago

This solution isn't particularly pretty -- but working to anaconda is our key metric for compatibility. Will think of some ways we might be able to make this less intrusive.

github-actions[bot] commented 1 month ago

🚀 Deployed on https://663b047aa8fc51c130273e29--taupe-gaufre-c4e660.netlify.app

mmcky commented 1 month ago

@jstac this brings compatibility with google collab. I will continue to think about cleaner ways to achieve this when we have minimum version requirements in our lectures.

mmcky commented 1 month ago

@jstac I will merge this for now but I have it in my mind to figure out a cleaner solution.