File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,8 @@ public class DataFrameBuilder(private val header: List<String>) {
416416 * A builder class for dynamically constructing a DataFrame with provided columns.
417417 * Allows adding columns manually while automatically handling duplicate column names by assigning unique names.
418418 *
419- * @property checkDuplicateValues Whether to check for duplicate column (with identical names and values)
419+ * @property checkDuplicateValues Whether to check for duplicate column (with identical names and values). If `true`,
420+ * doesn't add a new column if the identical one is already in the builder.
420421 * when adding new columns. `true` by default.
421422 */
422423public class DynamicDataFrameBuilder (private val checkDuplicateValues : Boolean = true ) {
@@ -479,10 +480,10 @@ public class DynamicDataFrameBuilder(private val checkDuplicateValues: Boolean =
479480 public fun get (column : String ): AnyCol ? = cols[column]
480481
481482 /* *
482- * Converts the current ` DynamicDataFrameBuilder` instance into a ` DataFrame` .
483- * The resulting ` DataFrame` is constructed from the columns stored in the builder.
483+ * Converts the current [ DynamicDataFrameBuilder] instance into a [ DataFrame] .
484+ * The resulting [ DataFrame] is constructed from the columns stored in the builder.
484485 *
485- * @return A ` DataFrame` containing the columns defined in the ` DynamicDataFrameBuilder` .
486+ * @return A [ DataFrame] containing the columns defined in the [ DynamicDataFrameBuilder] .
486487 */
487488 public fun toDataFrame (): DataFrame <* > = cols.values.toDataFrame()
488489}
You can’t perform that action at this time.
0 commit comments