skbio.stats.ordination.
scale
(a, weights=None, with_mean=True, with_std=True, ddof=0, copy=True)[source]¶Scale array by columns to have weighted average 0 and standard
State: Experimental as of 0.4.0. deviation 1.
Parameters: |
|
---|---|
Returns: | Scaled array. |
Return type: | 2D ndarray |
Notes
Wherever std equals 0, it is replaced by 1 in order to avoid division by zero.