Skip to content

Commit 951731c

Browse files
committed
refactoring to please linter
1 parent b3622e4 commit 951731c

File tree

1 file changed

+0
-1
lines changed
  • core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api

1 file changed

+0
-1
lines changed

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/Nulls.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ public fun <T> DataFrame<T>.dropNulls(vararg cols: Column, whereAllNull: Boolean
115115
public fun <T> DataFrame<T>.dropNulls(cols: Iterable<Column>, whereAllNull: Boolean = false): DataFrame<T> =
116116
dropNulls(whereAllNull) { cols.toColumnSet() }
117117

118-
119118
public fun <T> DataColumn<T?>.dropNulls(): DataColumn<T> =
120119
(if (!hasNulls()) this else filter { it != null }) as DataColumn<T>
121120

0 commit comments

Comments
 (0)