Skip to content

Commit c75a72d

Browse files
committed
expanded DataColumn.empty() kdocs a bit
1 parent 5b528f5 commit c75a72d

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/DataColumn.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,9 @@ public interface DataColumn<out T> : BaseColumn<T> {
218218
): DataColumn<T> = createByType(name, values, typeOf<T>(), infer)
219219

220220
/**
221-
* Creates an empty [DataColumn] with given [name].
221+
* Creates an empty [DataColumn] with given [name] of type [Nothing].
222+
* If you want to specify another type, use [`emptyOf<T>()`][emptyOf].
223+
*
222224
* @see emptyOf
223225
*/
224226
public fun empty(name: String = ""): DataColumn<Nothing> =

0 commit comments

Comments
 (0)