
# 필수 1# statistics csv 파일을 읽고, Category 기준 Customer ID 컬럼은 Count, Purchase Amount(USD) 컬럼은 Sum 연산을 진행해주세요. 동시에 2가지 연산을 진행해주세요. (한번의 group by)# 그리고 이를 df2 라는 변수에 저장해주세요.import pandas as pddf = pd.read_csv('/Users/t2024-m0244/Downloads/statistics.csv')df2 = df.groupby(['Category']).agg({'Customer ID':['count'], 'Purchase Amount (USD)':['sum']})df2# 필수 2# Expanding 메서드를 이용하여, Purchase Amount (USD) ..