createByInference
fun <T> createByInference(name: String, values: List<T>, suggestedType: TypeSuggestion = TypeSuggestion.Infer, nullable: Boolean? = null): DataColumn<T>
Creates either a FrameColumn, ColumnGroup, or ValueColumn by analyzing each value in values.
This is safer but slower than the other functions.
Some conversions are done automatically to attempt to unify the values.
For instance, when there are other DataFrames present in values, we'll convert:
to be able to create a FrameColumn. There are more conversions for other types as well.
Parameters
name
name of the column
values
the values to represent each row in the column
suggestedType
optional suggested type for values. Default is TypeSuggestion.Infer. See TypeSuggestion for more information.
nullable
optionally you can specify whether values contains nulls, if null it is inferred.