Skip to content

featurebyte.FeatureGroup.drop

drop(
items: List[str]
) -> FeatureGroup

Description

Drops feature(s) from the original FeatureGroup and returns a new FeatureGroup object.

Parameters

  • items: List[str]
    List of feature names to be dropped

Returns

  • FeatureGroup
    FeatureGroup object containing remaining feature(s)

Examples

>>> features = fb.FeatureGroup([
...     catalog.get_feature("InvoiceCount_60days"),
...     catalog.get_feature("InvoiceAmountAvg_60days"),
... ])
>>> amount_feature_group = features.drop(["InvoiceCount_60days"])