Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created December 23, 2020 14:10
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/399bad6532b35309654bdc0b2a5377f2 to your computer and use it in GitHub Desktop.
Save amankharwal/399bad6532b35309654bdc0b2a5377f2 to your computer and use it in GitHub Desktop.
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import os
# Plotly to create interactive graph
import chart_studio.plotly as py
from plotly import tools
from plotly.offline import init_notebook_mode,iplot
init_notebook_mode(connected=False)
import plotly.figure_factory as ff
import plotly.graph_objs as go
%matplotlib inline
sns.set_style("whitegrid")
plt.style.use("fivethirtyeight")
# To remove un-necessary warnings
import warnings
warnings.filterwarnings("ignore")
deliveries = pd.read_csv('IPL Ball-by-Ball 2008-2020.csv')
matches = pd.read_csv('IPL Matches 2008-2020.csv')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment