(DEPRECATED) Returns a function that transforms non-zero and zero values with the specified functions for truthy
and falsey values, respectively.
Parameters:
true (FunctionNode | int | float, optional) – Function or value to transform the non-zero values using (default is None leaving non-zero values
unchanged).
false (FunctionNode | int | float, optional) – Function or value to transform the zero values using (default is None leaving zero values unchanged).
Returns:
A function that accepts a single time series and transforms non-zero and zero values with the specified
functions for truthy and falsey values, respectively.
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 Deprecated and will be removed in a future release.