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(python): Add include_nulls parameter to update #11830

Merged
merged 4 commits into from
Oct 20, 2023

Conversation

mcrumiller
Copy link
Contributor

Resolves #11821

Currently, DataFrame.update only uses non-null values from the right frame. This parameter allows a call to df.update(other, include_nulls=True) to include null values from other, which is conceivably useful in many cases.

@github-actions github-actions bot added fix Bug fix python Related to Python Polars labels Oct 18, 2023
@ritchie46 ritchie46 merged commit d9c6316 into pola-rs:main Oct 20, 2023
12 checks passed
reswqa added a commit to reswqa/polars that referenced this pull request Nov 7, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pl.DataFrame.update - does nothing when the updating value is null
2 participants