From 0bacb0f4db5a6e7946518c268608735999fdc9a4 Mon Sep 17 00:00:00 2001 From: Jas-simran Date: Thu, 4 Oct 2018 22:03:35 +0000 Subject: [PATCH 1/4] Done --- q01_plot_deliveries_by_team/build.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/q01_plot_deliveries_by_team/build.py b/q01_plot_deliveries_by_team/build.py index d1dab11..401d8bb 100644 --- a/q01_plot_deliveries_by_team/build.py +++ b/q01_plot_deliveries_by_team/build.py @@ -1,3 +1,4 @@ +# %load q01_plot_deliveries_by_team/build.py import pandas as pd import numpy as np import matplotlib.pyplot as plt @@ -7,3 +8,14 @@ # Solution +def plot_deliveries_by_team(): + plt.figure() + plt.bar(ipl_df.index.ipl_df) + plt.xlabel('batting_team', fontsize=5) + plt.ylabel('count_of_deli', fontsize=5 + plt.show() + + +plot_deliveries_by_team() + + From 2747180ce2b4906cc04665109a3965973da81650 Mon Sep 17 00:00:00 2001 From: Jas-simran Date: Thu, 4 Oct 2018 22:07:58 +0000 Subject: [PATCH 2/4] Done --- q02_plot_matches_by_team/build.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/q02_plot_matches_by_team/build.py b/q02_plot_matches_by_team/build.py index ce53182..589d0ac 100644 --- a/q02_plot_matches_by_team/build.py +++ b/q02_plot_matches_by_team/build.py @@ -1,3 +1,4 @@ +# %load q02_plot_matches_by_team/build.py import pandas as pd import numpy as np import matplotlib.pyplot as plt @@ -6,3 +7,7 @@ # Solution + + + + From c0568c4095ed31f0270013865c6a2203ec7ce011 Mon Sep 17 00:00:00 2001 From: Jas-simran Date: Sun, 4 Nov 2018 10:21:31 +0000 Subject: [PATCH 3/4] Done --- q03_plot_innings_runs_histogram/build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/q03_plot_innings_runs_histogram/build.py b/q03_plot_innings_runs_histogram/build.py index ce53182..7b77baa 100644 --- a/q03_plot_innings_runs_histogram/build.py +++ b/q03_plot_innings_runs_histogram/build.py @@ -1,3 +1,4 @@ +# %load q03_plot_innings_runs_histogram/build.py import pandas as pd import numpy as np import matplotlib.pyplot as plt @@ -6,3 +7,6 @@ # Solution + + + From 8ff28d6f32550d5ae2270cfd9fa534e2c6cf5cfc Mon Sep 17 00:00:00 2001 From: Jas-simran Date: Sun, 4 Nov 2018 10:22:53 +0000 Subject: [PATCH 4/4] Done --- q04_plot_runs_by_balls/build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/q04_plot_runs_by_balls/build.py b/q04_plot_runs_by_balls/build.py index ce53182..4048eb8 100644 --- a/q04_plot_runs_by_balls/build.py +++ b/q04_plot_runs_by_balls/build.py @@ -1,3 +1,4 @@ +# %load q04_plot_runs_by_balls/build.py import pandas as pd import numpy as np import matplotlib.pyplot as plt @@ -6,3 +7,6 @@ # Solution + + +