Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support append/extend with null series (#11824) #12686

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

tkarabela
Copy link
Contributor

This PR is a partial fix for issue #11824. It solves the case when one cannot df1.vstack(df2) because eg. df1["x"].dtype == pl.Int64 but df2["x"].dtype == pl.Null.

#11824 also mentions a more complex example, when we get conflict between eg. List[Int64] and List[Null]. This is related to behaviour introduced by PR #12677 which produces these List[Null] columns when parsing empty JSON arrays.

Any `Series` can now be `append`-ed or `extend`-ed with
a series of null dtype.
@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Nov 25, 2023
@ritchie46
Copy link
Member

Thank you @tkarabela

@ritchie46 ritchie46 merged commit 334e326 into pola-rs:main Nov 27, 2023
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants