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

df = pd.read_csv('/kaggle/input/ipl-2008-to-2021-all-match-dataset/IPL_Matches_2008_2022.csv')
df

matches = pd.read_csv('/kaggle/input/ipl-2008-to-2021-all-match-dataset/IPL_Matches_2008_2022.csv')
delivery = pd.read_csv('/kaggle/input/ipl-2008-to-2021-all-match-dataset/IPL_Ball_by_Ball_2008_2022.csv')

matches.City.unique()

matches.columns

matches.Season = matches.Season.replace(to_replace='2007/08', value='2008')
matches.Season = matches.Season.replace(to_replace='2009/10', value='2010')
matches.Season = matches.Season.replace(to_replace='2020/21', value='2020')

matches.City.fillna(matches.Venue, inplace=True)
matches.City.unique()