Created
July 24, 2022 01:04
-
-
Save skrawcz/14e14784f032f058dfb724caf32d6a8c to your computer and use it in GitHub Desktop.
Function for Tidy Pandas in Production post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@tag(owner='Data-Science', pii='False') | |
@check_output(data_type=np.float64, range=(-5.0, 5.0), allow_nans=False) | |
def height_zero_mean_unit_variance(height_zero_mean: pd.Series, | |
height_std_dev: pd.Series) -> pd.Series: | |
"""Zero mean unit variance value of height""" | |
return height_zero_mean / height_std_dev | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment