commit c08a48363ff19ddd62cce3587d9ba064b74730a6 Author: Войтенко Date: Tue May 5 12:50:21 2026 +0000 Добавить Задание 1 diff --git a/Задание 1 b/Задание 1 new file mode 100644 index 0000000..55e98e5 --- /dev/null +++ b/Задание 1 @@ -0,0 +1,7 @@ +python + +import pandas as pd + +def count-sum(df: pd.DataFrame) -> pd.DataFrame + result = df.groupby('Товар')['Количество'].sum().to_frame() + return result \ No newline at end of file