text_plain_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

ipldf = pd.read_csv('../input/matches.csv')

idf = pd.DataFrame(ipldf.groupby('toss_winner').size())

idf2 = ipldf.groupby('winner').size()
print(idf2)