-
Notifications
You must be signed in to change notification settings - Fork 76
Nothing cols fixes #1551
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
Nothing cols fixes #1551
Changes from all commits
6608ebd
bf98cc4
e7805af
e72575b
a7f9498
0d009c6
f1a13c6
5b528f5
c75a72d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -96,6 +96,11 @@ public interface ColsOfColumnsSelectionDsl { | |||
| * | ||||
| * This function operates solely on columns at the top-level. | ||||
| * | ||||
| * __NOTE:__ Null-filled columns of type [Nothing?][Nothing] will be included when selecting [`colsOf`][colsOf]`<T?>()`. | ||||
| * This is because [Nothing][Nothing] is considered a subtype of all other types in Kotlin. | ||||
| * To exclude these columns, call `.`[filter][ColumnsSelectionDsl.filter]` { !it.`[allNulls][DataColumn.allNulls]`() }` | ||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just have a look what we have to do to achieve dataframe/core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/impl/TypeUtils.kt Line 563 in fc5033c
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we would need to have a shortcut for that
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. or, you know, they type colsOf<T?>() except colsOf(typeOf<List<Nothing>>().arguments.first().type!!)you know, elegant |
||||
| * after it. | ||||
| * | ||||
| * ### Check out: [Grammar] | ||||
| * | ||||
| * #### For example: | ||||
|
|
||||
Uh oh!
There was an error while loading. Please reload this page.