5 lines
147 B
Python
5 lines
147 B
Python
import pandas as pd
|
|
|
|
|
|
def count_sum(df: pd.DataFrame)->pd.DataFrame:
|
|
return df.groupby('Товар')['Количество'].sum().to_frame() |