Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created Dec 23, 2020
Embed
What would you like to do?
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