Frame reverse_box_cox¶
-
reverse_box_cox
(self, column_name, lambda_value=0.0, box_cox_column_name=None)¶ Calculate the reverse box-cox transformation for each row in current frame.
Parameters: column_name : unicode
Name of column to perform transformation on
lambda_value : float64 (default=0.0)
Lambda power paramater
box_cox_column_name : unicode (default=None)
Name of column used to store the transformation
Calculate the reverse box-cox transformation for each row in a frame using the given lambda value or default 0.
The reverse box-cox transformation is computed by the following formula, where wt is a single entry box-cox value(row):
yt = exp(wt); if lambda=0, yt = (lambda * wt + 1)^(1/lambda) ; else