from_value

getml.data.columns.from_value(val: Union[bool, str, int, float, datetime64]) Union[BooleanColumnView, StringColumnView, FloatColumnView][source]

Creates a infinite column that contains the same value in all of its elements.

val (bool, str or number):

The value you want to insert into your column.