def sin_transformer(period):
    return FunctionTransformer((lambda x: np.sin((((x / period) * 2) * np.pi))))
def sin_transformer(period):
    return FunctionTransformer((lambda x: np.sin((((x / period) * 2) * np.pi))))