Repository navigation
Conversation
… about Two cells printed a pandas warning into their output: - inflation_history: pd.concat of the sheets, which all have a DatetimeIndex, sorts the joined index by default, which pandas 3 deprecates (Pandas4Warning: "Sorting by default when concatenating all DatetimeIndex is deprecated"). `sort=True` keeps today's sorted result. - fitting_distributions: `times` is in UTC, and converting it to monthly periods drops the time zone, with a UserWarning. Dropping it first with `tz_localize(None)` gives the same months, without the warning. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL
✅ Deploy Preview for taupe-gaufre-c4e660 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This branch was successfully 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
Two cells print a pandas warning into their output. This states what pandas asks for, keeping the results the same:
df_list.append(pd.concat(sheet_list, axis=1))df_list.append(pd.concat(sheet_list, axis=1, sort=True))sort=False."sort=Truekeeps today's sorted result.monthly = times.dt.to_period('M').value_counts().sort_index()monthly = times.dt.tz_localize(None).dt.to_period('M').value_counts().sort_index()timesis in UTC, so dropping the zone first gives the same months.Both were found by the environment scan of 2026-11-19 and are in intro's own builds. This is part of reporting lecture fixes upstream to each lecture's source of truth (QuantEcon/project-monorepo#77).
Validation (draft until done)
A full validation, as for any change to a series that drives a live site (the owner, 2026-11-22): a fresh build with no cache and every lecture executed, of this pull request and of main on the same day. They are compared for new warnings in the build logs, for changed or new warnings and errors in the cell outputs, and page by page in the HTML.
8db8a99, this branch's base).The results go in a comment here.
This changes lecture content, so it needs a person's review.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL