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