Skip to content

Instantly share code, notes, and snippets.

Created July 3, 2022 05:24
What would you like to do?
transformer = FunctionTransformer(lambda x: 1/x, validate=True)
transformed_var = transformer.transform(df[variables].fillna(1))
transformed_var = pd.DataFrame(transformed_var, columns = variables)
Gaussian_distribution_check(df, "YearBuilt" )
Gaussian_distribution_check(transformed_var, "YearBuilt")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment