danfo.StandardScaler
Standardize features by removing the mean and scaling to unit variance.
Last updated
Was this helpful?
Standardize features by removing the mean and scaling to unit variance.
Last updated
Was this helpful?
class danfo.StandScaler
danfo.js provides the StandardScaler class for the standardization of DataFrame and Series. The standard score of a sample x
is calculated as:
z = (x - u) / s
where u
is the mean of the training samples or zero if with_mean=False
, and s
is the standard deviation of the training samples or one if with_std=False
.
The API is similar to sklearn's , and provides a fit and transform method.
See also