Skip to content

Bring python_by_example and pandas up to date with the English (#55) - #66

Open
quantecon-services wants to merge 1 commit into
mainfrom
claude/bring-up-to-date
Open

quantecon-services wants to merge 1 commit into
mainfrom
claude/bring-up-to-date

Conversation

@quantecon-services

Copy link
Copy Markdown
Collaborator

What

Brings the two Malayalam lectures that lag the English up to date, so the state files in #56 can record them as current. Closes #55.

Changes

python_by_example.md (#55)

From QuantEcon/lecture-python-programming#604:

  • The while-loop sentence now says the loop runs as long as (ആയിരിക്കുന്നിടത്തോളം) the condition holds, not until it does. This changes the meaning, as in English.
  • Inline code in that sentence and the next uses single backticks.

From QuantEcon/lecture-python-programming#595, in Random Draws:

  • "ബാക്കി മൂന്ന് lines" → "ബാക്കി നാല് lines"
  • The code cell gains rng = np.random.default_rng()
  • New sentence: "ആദ്യത്തെ line, rng എന്ന ഒരു random number generator create ചെയ്യുന്നു."
  • "ആദ്യത്തെ line, 100 (quasi)…" → "രണ്ടാമത്തെ line, 100 (quasi)…"
  • "അടുത്ത രണ്ട് lines…" → "അവസാനത്തെ രണ്ട് lines…"

Only these sentences change; the reviewed wording stays everywhere else.

pandas.md: drops --upgrade from the two install lines (QuantEcon/lecture-python-programming#663).

Checks

  • Code cells identical to English: 30 of 30 (python_by_example), 70 of 70 (pandas)
  • The other four translated lectures already match the English, per the 2026-12-01 audit

Not in this PR

The state files (#56). That issue asks for them to be written with translate status --write-state, never by hand, together with the prune_toc.py switch.


Generated by Claude Code

python_by_example (ml#55): applies QuantEcon/lecture-python-programming#604
and #595. The while-loop sentence now says the loop runs as long as
the condition holds (the meaning changed in English), the inline code
uses single backticks, and Random Draws gains the
rng = np.random.default_rng() line with "four lines", a sentence for
it, and "second" / "last two" for the lines that follow. Only these
sentences change; the reviewed wording stays elsewhere.

pandas: drops --upgrade from the two install lines
(QuantEcon/lecture-python-programming#663).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HvzxXkVSwin4bbMYyxt4B9
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

📖 HTML build - view preview (4285689)

Translated pages in this PR:

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bring python_by_example up to date with the English (lecture-python-programming#604 and #595)

2 participants