File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ # -*- coding: utf-8 -*-
2+ """
3+ Created on Mon Jun 1 22:25:10 2020
4+
5+ @author: sothfulwave612
6+
7+ Modules Used(2):-
8+ 1. utility_function_io -- module where i/o functions are defined.
9+ 2. utility_function_viz -- module where visualization functions are defined.
10+ """
11+ import utility_function_io as ufio
12+ import utility_function_viz as ufvz
13+
14+ ## making dataframe for competitions
15+ comp_df = ufio .get_competitions ()
16+
17+ ## La Liga Competition
18+ comp_id = 11
19+ season_id = 23
20+
21+ ## getting all the matches
22+ match_df = ufio .get_matches (comp_id , season_id )
23+
24+ ## listing all the match ids
25+ match_ids = list (match_df ['match_id' ].unique ())
26+
27+ ## shot dataframe
28+ shot_df = ufio .make_shots_event (match_ids , player = 'Lionel Andrés Messi Cuccittini' )
You can’t perform that action at this time.
0 commit comments