pandas goupby() 2018-01-29 本文已影响0人 绍重先 ratings_by_title = data.groupby('title').size() ratings_by_title[:10]