Skip to content

featurebyte.Target.cos

cos( ) -> FrozenSeriesT

Description

Get the cos value of each element in the Series.

Returns

  • FrozenSeriesT
    Series or Feature with rounded values

Examples

>>> view = catalog.get_view("GROCERYINVOICE")
>>> view["AmountCos"] = view["Amount"].cos()