Skip to content

修复pandas类型转换兼容性 - #5

Merged
PureSaber merged 1 commit into
mainfrom
codex/pandas-compatibility
Oct 3, 2026
Merged

PureSaber merged 1 commit into
mainfrom
codex/pandas-compatibility

Conversation

@PureSaber

Copy link
Copy Markdown
Owner

金额占比计算此前把数值列转成object,缺失的可交易标记还会触发pandas隐式向下转换。现在保留数值和布尔类型,维持原缺失值语义及权重约束。

验证:完整66项测试在pandas2.3.3和独立pandas3环境均通过,FutureWarning提升为错误;ruff检查和格式检查通过。

@PureSaber
PureSaber marked this pull request as ready for review October 3, 2026 03:05
@PureSaber
PureSaber merged commit 851cde8 into main Oct 3, 2026
2 checks passed
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.

1 participant