Menu

Season-wise Match Analysis

Season-wise Match Analysis

The first analysis explores how many matches were played in each IPL season.

Code

season_matches = matches['season'].value_counts().sort_index()

print(season_matches)

Visualization

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

season_matches.plot(kind='bar')

plt.title("Matches Played in Each IPL Season")

plt.xlabel("Season")

plt.ylabel("Number of Matches")

plt.show()

Explanation

This analysis shows how the number of IPL matches has changed across different seasons.