Menu

Team Performance Analysis

Team Performance Analysis

Next, analyze the total number of matches won by each team.

Code

team_wins = matches['winner'].value_counts()

print(team_wins)

Visualization

plt.figure(figsize=(10,6))

sns.barplot(

x=team_wins.values,

y=team_wins.index

)

plt.title("Total Matches Won by Each Team")

plt.xlabel("Wins")

plt.ylabel("Team")

plt.show()

Image:

Explanation

This visualization helps identify the most successful IPL teams based on the number of victories.