pandas 3.x compat: replace _append with pd.concat; doc report ordering#41
Open
karthiktadepalli1 wants to merge 1 commit into
Open
pandas 3.x compat: replace _append with pd.concat; doc report ordering#41karthiktadepalli1 wants to merge 1 commit into
karthiktadepalli1 wants to merge 1 commit into
Conversation
Replace pd.Series._append with pd.concat in agent_regression: the private _append was removed in pandas 3.0 (uv.lock currently pins 2.3.3, where it still exists, so the locked pipeline isn't broken). Also add a README note that time-horizon-1-0 must be reproduced before time-horizon-1-1, since the latter consumes the former's wrangled outputs (bootstrap CSVs, logistic fits, benchmark metrics). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
pd.Series._appendwithpd.concatinagent_regression. The private_appendwas removed in pandas 3.0; the lockedpandas==2.3.3inuv.lockstill carries it as a private fallback, so the pipeline isn't broken underuv synctoday, but this prevents breakage on a future pandas bump.time-horizon-1-0must be reproduced beforetime-horizon-1-1, since the latter still depends on the former's wrangled outputs (bootstrap/headline.csv,logistic_fits/headline.csv,metrics/benchmark_results.yaml) — seereports/time-horizon-1-1/dvc.yamlandfigs.yaml.Test plan
uv syncsucceeds;dvc reprocompletes for both reportsdvc reprofortime-horizon-1-1no longer raisesAttributeError: 'Series' object has no attribute '_append'🤖 Generated with Claude Code