题解 | #牛客网答题正误总数#
牛客网答题正误总数
https://www.nowcoder.com/practice/85a4eff716a34ba8b250c78a5a2c8224
import pandas as pd import datetime df1 = pd.read_csv('nowcoder.csv',sep=',') df1['date'] = pd.to_datetime(df1['date']).dt.date print(df1.groupby('result')['user_id'].count())