Skip to content

featurebyte.Feature.str.lower

lower( ) -> Feature

Description

Converts each string element to lower case.

Returns

  • Feature
    A new Feature object.

Examples

Convert the ProductGroupLookup feature to lower case:

>>> feature = catalog.get_feature("ProductGroupLookup")
>>> feature_group = fb.FeatureGroup([feature])
>>> feature_group["ProductGroupLower"] = feature.str.lower()