题解 | #统计618的销售额#
统计618的销售额
https://www.nowcoder.com/practice/b4594cc333b74ef69d34d9056274e044
import pandas as pd import datetime df=pd.read_csv('Order.csv') pd.to_datetime(df['date']) print(df[df['date']=='2022/6/18']['price'].sum())
统计618的销售额
https://www.nowcoder.com/practice/b4594cc333b74ef69d34d9056274e044
import pandas as pd import datetime df=pd.read_csv('Order.csv') pd.to_datetime(df['date']) print(df[df['date']=='2022/6/18']['price'].sum())
相关推荐