Feature#

class spark.feat.Feat#

Bases: Enum

A feature in the spark dataset.

Each member holds metadata about its source instrument and column. The member name is the instrument code and source column separated by an underscore and uppercased.

property col: str#

The column name for the feature.

A combination of the instrument code and source column, separated by an underscore.

Returns:

The column name.

property inst_code: str#

The instrument code for the feature.

Returns:

The instrument code.

property source_col: str#

The source column name for the feature.

Returns:

The source column name.