Skip to content

featurebyte.Feature.dt.minute

minute: Feature

Description

Returns the minute component of each element. This is also available for Features containing timedelta values, which is a result of taking the difference between two timestamp Features.

Returns

  • Feature
    Feature containing the minute component values

Examples

Compute the minute component of a timestamp column:

>>> feature = catalog.get_feature("CustomerLatestInvoiceTimestamp")
>>> feature_group = fb.FeatureGroup([feature])
>>> feature_group["TimestampMinute"] = feature.dt.minute