lace.engine.Engine.ftype

Engine.ftype(col: str | int)

Get the feature type of a column.

Parameters:

col (column index) – The column index

Returns:

The feature type

Return type:

str

Examples

>>> from lace.examples import Satellites
>>> engine = Satellites()
>>> engine.ftype("Class_of_Orbit")
'Categorical'
>>> engine.ftype("Period_minutes")
'Continuous'