Repository navigation
fix(data): preserve single-symbol concat values - #913
Open
JohnDReynolds wants to merge 1 commit into
Open
JohnDReynolds wants to merge 1 commit into
JohnDReynolds wants to merge 1 commit into
Conversation
This branch has not been 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.
Summary
Currently,
Data.concat()builds single-symbol results through a float64 placeholder. This can round large integer values, such as nanosecond timestamps, and reject stored boolean, string, datetime or nullable columns.This PR fixes that by constructing each single-symbol result from a copy of its stored column, then applying the existing object inference and symbol naming.
Benefit and scope: Preserves large integer values in feature-based output and CSV exports with a small change confined to single-symbol concatenation.
Validation
Regression evidence
Event timestamps
1704067200000000001and1704067200000000003now remain distinct through single-symbol concatenation and CSV export. Previously, both were rounded to1704067200000000000. Regressions also cover native and nullable dtypes, missing and empty data, symbol and feature labels, configurable string inference, and independent result values.Checks
Notes
Single-symbol results now retain native column dtypes before the existing
infer_objects()normalization.AI use