temporian.EventSet.arctan #
arctan() -> EventSetOrNode
Calculates the inverse tangent of an EventSet
's features.
Can only be used on floating point features.
Example
>>> a = tp.event_set(
... timestamps=[1, 2, 3, 4],
... features={"M": [0, 1.0, -1.0, 5.0]},
... )
>>> a.arctan()
indexes: ...
timestamps: [1. 2. 3. 4.]
'M': [ 0. 0.7854 -0.7854 1.3734]
...
Returns:
Type | Description |
---|---|
EventSetOrNode
|
EventSetOrNode with inverse tangent of input features. |