def _compute_power_transforms(Ys: Dict[(str, List[float])]) -> Dict[(str, PowerTransformer)]:
    'Compute power transforms.'
    power_transforms = {}
    for (k, ys) in Ys.items():
        y = np.array(ys)[:, None]
        pt = PowerTransformer(method='yeo-johnson').fit(y)
        power_transforms[k] = pt
    return power_transforms
Compute power transforms.
def _compute_power_transforms(Ys: Dict[(str, List[float])]) -> Dict[(str, PowerTransformer)]:
    
    power_transforms = {}
    for (k, ys) in Ys.items():
        y = np.array(ys)[:, None]
        pt = PowerTransformer(method='yeo-johnson').fit(y)
        power_transforms[k] = pt
    return power_transforms