Skip to content

Instantly share code, notes, and snippets.

@elijahbenizzy
Created September 2, 2023 22:54
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save elijahbenizzy/228ddd1905178540c7b51f2af9e93965 to your computer and use it in GitHub Desktop.
@config.when(mode="batch")
def age_mean__batch(age: pd.Series) -> float:
return age.mean()
@config.when(mode="batch")
def age_stddev__batch(age: pd.Series) -> float:
return age.std()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment