Skip to content

[action-translation] resync: pandas_panel.md#144

Merged
mmcky merged 1 commit into
mainfrom
resync/pandas_panel
Jul 19, 2026
Merged

[action-translation] resync: pandas_panel.md#144
mmcky merged 1 commit into
mainfrom
resync/pandas_panel

Conversation

@mmcky

@mmcky mmcky commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Forward Resync: pandas_panel.md

Source: QuantEcon/lecture-python.mystlectures/pandas_panel.md
Source commit: 6f473fe
This PR resyncs the translation to match the current source document.

Reason: Target adds substantive content not in source: an extra code cell showing 'merged.T.groupby(level='Continent').mean()' output, Chinese country/continent/age-label mapping dictionaries and translation logic (country_map, continent_map, age_labels) with associated plotting code, font configuration imports, and additional legend/label customization in plots (e.g., legend titles, translated sex/age categories in boxplot). These are beyond simple i18n font/locale adjustments and constitute added explanatory/code content. Also URLs differ (source uses different repo paths than target), which is a content change, but the additions take priority for verdict.

Changes

Whole-file resync applied. The entire document was resynced in a single pass.


Created by action-translation forward resync

Copilot AI review requested due to automatic review settings July 18, 2026 08:38
@mmcky mmcky added action-translation-sync Auto-created by action-translation resync Forward resync labels Jul 18, 2026
@netlify

netlify Bot commented Jul 18, 2026

Copy link
Copy Markdown

Deploy Preview for astonishing-narwhal-a8fc64 ready!

Name Link
🔨 Latest commit 095373f
🔍 Latest deploy log https://app.netlify.com/projects/astonishing-narwhal-a8fc64/deploys/6a5b3ba49004e000080190ce
😎 Deploy Preview https://deploy-preview-144--astonishing-narwhal-a8fc64.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 project configuration.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR forward-resyncs the Chinese translation of lectures/pandas_panel.md to match the upstream source lecture, and records the resync state metadata for the translation toolchain.

Changes:

  • Updated the lecture content and code cells (e.g., data source URLs, pandas stacking calls, and groupby examples) to align with the latest upstream source.
  • Added translation front-matter (translation.title + translation.headings) for structured heading mapping.
  • Added .translate/state/pandas_panel.md.yml to record the synced source SHA and resync metadata.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
lectures/pandas_panel.md Resynced full lecture content; includes updated metadata, URLs, and pandas examples.
.translate/state/pandas_panel.md.yml Adds resync state (source SHA, timestamp, model, mode, section count).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lectures/pandas_panel.md
Comment on lines 271 to +273
for country in replace:
merged['Continent'] = merged['Continent'].replace(
{country:'America'})
merged.Continent = merged.Continent.replace(to_replace=country,
value='America')
Comment thread lectures/pandas_panel.md
@@ -326,10 +335,6 @@ map_url='https://raw.githubusercontent.com/QuantEcon/lecture-python.zh-cn/refs/h
country_map = pd.read_csv(map_url).set_index('English')['Chinese']
@mmcky mmcky added the action-translation PRs created by QuantEcon/action-translation label Jul 18, 2026
@github-actions

Copy link
Copy Markdown

@github-actions
github-actions Bot temporarily deployed to pull request July 18, 2026 10:29 Inactive
@mmcky
mmcky merged commit 3c9a6d3 into main Jul 19, 2026
7 of 8 checks passed
@mmcky
mmcky deleted the resync/pandas_panel branch July 19, 2026 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action-translation PRs created by QuantEcon/action-translation action-translation-sync Auto-created by action-translation resync Forward resync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants