Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created December 23, 2020 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/83b02adaf0fb281a10868087e50afe2a to your computer and use it in GitHub Desktop.
Save amankharwal/83b02adaf0fb281a10868087e50afe2a to your computer and use it in GitHub Desktop.
x=['Sunrisers Hyderabad', 'Mumbai Indians', 'Gujarat Lions',
'Rising Pune Supergiant', 'Royal Challengers Bangalore',
'Kolkata Knight Riders', 'Delhi Daredevils', 'Kings XI Punjab',
'Chennai Super Kings', 'Rajasthan Royals', 'Deccan Chargers',
'Kochi Tuskers Kerala', 'Pune Warriors', 'Rising Pune Supergiants', 'Delhi Capitals']
y = ['SRH','MI','GL','RPS','RCB','KKR','DC','KXIP','CSK','RR','SRH','KTK','PW','RPS','DC']
matches.replace(x,y,inplace = True)
deliveries.replace(x,y,inplace = True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment