Returns a function that calculates the per-second value change for a single time series.
For every point in the time series, starting from the second point, output a tick with the derivative of the value
of the previous point in time. Each value is scaled to a per-second rate irrespective of the original frequency
at which the ticks are stored.
Returns:
A function that accepts a single time series as input and returns a time series with per-second derative values.
Return type:
(FunctionNode) -> FunctionNode
Dataframe schema
Column name
Type
Description
timestamp
pandas.Timestamp
Timestamp of the point
value
float
Value of the point
Note
This function is only applicable to numeric series.