Last active
March 25, 2022 19:14
-
-
Save khuyentran1401/ed9e492928b520ba4c54c578bc8f99bc to your computer and use it in GitHub Desktop.
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
from pandera import check_input | |
@check_input(schema) | |
def get_total_price(fruits: pd.DataFrame): | |
return fruits.price.sum() | |
get_total_price(fruits) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment