dr/python/group.py
Guillem Borrell 6292fb2609
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Added cicd script
2022-11-20 22:00:58 +00:00

7 lines
145 B
Python
Executable file

#!/usr/bin/env python3
import sys
import pandas as pd
df = pd.read_csv(sys.stdin)
print(df.groupby("Dept", as_index=False).Weekly_Sales.mean())