Skip to content

Conversation

koperagen
Copy link
Collaborator

We discussed that dropNulls is not obvious for people familiar with filterNotNull from Kotlin Collections and decided to keep our convention but add a few pointers

@koperagen koperagen added this to the 1.0.0-Beta3 milestone Jul 18, 2025
@koperagen koperagen requested a review from zaleslaw July 18, 2025 11:41
@koperagen koperagen self-assigned this Jul 18, 2025
@koperagen koperagen added the documentation Improvements or additions to documentation (not KDocs) label Jul 18, 2025
@koperagen koperagen merged commit 0ec74c7 into master Jul 18, 2025
6 checks passed
ReplaceWith("dropNulls(columns = columns)"),
DeprecationLevel.ERROR,
)
public fun <T> DataFrame<T>.filterNotNull(columns: ColumnsSelector<T, *>): DataFrame<T> = dropNulls(columns = columns)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you annotate something with ERROR, there's no need to write an implementation for it; the function cannot be called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation (not KDocs)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants