Repository navigation
Port #563 (numpy_vs_numba_vs_jax) and #470 (pandas_panel) - #120
Open
quantecon-services wants to merge 1 commit into
Open
quantecon-services wants to merge 1 commit into
quantecon-services wants to merge 1 commit into
Conversation
Both state files record English commits that include these changes, but the French code never got them. numpy_vs_numba_vs_jax (#563): jax.jit no longer takes device=; pin the input with jax.device_put(0.1, cpu) instead and pass x0_cpu to the four timing calls. The bullet that explains the pinning follows. pandas_panel (#470): drop future_stack=True from the four .stack() calls (the default since pandas 3.0), and say groupby no longer supports axis=1 rather than that it is deprecated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HvzxXkVSwin4bbMYyxt4B9
📖 Netlify Preview Ready!Preview URL: https://pr-120--verdant-toffee-3261a8.netlify.app Commit: 📚 Changed LecturesBuild Info
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Ports two English changes whose state files say they are in the French edition but whose code is not. Found in the translation audit of 2026-12-01 (silent-drift task list, P2).
Changes
numpy_vs_numba_vs_jax.md(QuantEcon/lecture-python-programming#563)jax.jitno longer acceptsdevice=; the input is pinned withx0_cpu = jax.device_put(0.1, cpu)instead, with a translated commentdevice=cpuis removed from theqm_jax_foriandqm_jax_scandecorators, and the four timing cells passx0_cpujax.device_putpandas_panel.md(QuantEcon/lecture-python-programming#470)future_stack=Trueis removed from four.stack()calls (the default since pandas 3.0), along with its "requis jusqu'à pandas>3.0" commentsgroupbysentence now says pandas no longer supportsaxis=1, rather than that it is deprecatedChecks
A French-speaking reviewer should check the two reworded sentences and the new comment.
Generated by Claude Code