Загрузить файлы в «/»
This commit is contained in:
commit
2385c379df
4
count_sum_pandas.py
Normal file
4
count_sum_pandas.py
Normal file
@ -0,0 +1,4 @@
|
||||
import pandas as pd
|
||||
|
||||
def count_sum(df: pd.DataFrame) -> pd.DataFrame:
|
||||
return df.groupby('Товар')['Количество'].sum().reset_index()
|
||||
Loading…
Reference in New Issue
Block a user