Skip to content

featurebyte.Target.dt.minute

minute: Target

Description

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

Returns

  • Target
    Target containing the minute component values

Examples

Compute the minute component of a timestamp column:

>>> target = catalog.get_target("target_latest_invoice_timestamp")
>>> target_timestamp_minute = target.dt.minute