Skip to content

featurebyte.Feature.str.upper

upper( ) -> Feature

Description

Converts each string element to upper case.

Returns

  • Feature
    A new Feature object.

Examples

Convert the ProductGroupLookup feature to upper case:

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