Skip to content

Instantly share code, notes, and snippets.

@databyjp
Created August 23, 2020 08:49
Show Gist options
  • Select an option

  • Save databyjp/8f5736ec19eb79e32e0b931af8ce2741 to your computer and use it in GitHub Desktop.

Select an option

Save databyjp/8f5736ec19eb79e32e0b931af8ce2741 to your computer and use it in GitHub Desktop.
>>> per_gm_df
name g mp ... pf pts link
0 Dallas Mavericks 75 242.3 ... 19.5 117.0 /teams/DAL/2020.html
1 Milwaukee Bucks 73 241.0 ... 19.6 118.7 /teams/MIL/2020.html
2 Portland Trail Blazers 74 241.0 ... 21.7 115.0 /teams/POR/2020.html
3 Houston Rockets 72 241.4 ... 21.8 117.8 /teams/HOU/2020.html
4 Los Angeles Clippers 72 241.4 ... 22.1 116.3 /teams/LAC/2020.html
5 New Orleans Pelicans 72 242.1 ... 21.2 115.8 /teams/NOP/2020.html
6 Phoenix Suns 73 241.0 ... 22.0 113.6 /teams/PHO/2020.html
7 Washington Wizards 72 241.0 ... 22.7 114.4 /teams/WAS/2020.html
8 Memphis Grizzlies 73 240.7 ... 21.2 112.6 /teams/MEM/2020.html
9 Boston Celtics 72 242.1 ... 21.6 113.7 /teams/BOS/2020.html
10 Miami Heat 73 243.1 ... 20.6 112.0 /teams/MIA/2020.html
11 Denver Nuggets 73 243.1 ... 20.3 111.3 /teams/DEN/2020.html
12 Toronto Raptors 72 241.4 ... 21.7 112.8 /teams/TOR/2020.html
13 San Antonio Spurs 71 242.5 ... 19.4 114.1 /teams/SAS/2020.html
14 Philadelphia 76ers 73 241.0 ... 20.9 110.7 /teams/PHI/2020.html
15 Los Angeles Lakers 71 240.7 ... 20.7 113.4 /teams/LAL/2020.html
16 Brooklyn Nets 72 242.8 ... 21.0 111.8 /teams/BRK/2020.html
17 Utah Jazz 72 241.0 ... 20.4 111.3 /teams/UTA/2020.html
18 Indiana Pacers 73 241.4 ... 19.8 109.4 /teams/IND/2020.html
19 Oklahoma City Thunder 72 242.1 ... 19.3 110.4 /teams/OKC/2020.html
20 Sacramento Kings 72 242.4 ... 22.2 110.1 /teams/SAC/2020.html
21 Orlando Magic 73 240.7 ... 18.3 107.3 /teams/ORL/2020.html
22 Atlanta Hawks 67 243.0 ... 23.1 111.8 /teams/ATL/2020.html
23 Minnesota Timberwolves 64 243.1 ... 21.4 113.3 /teams/MIN/2020.html
24 Detroit Pistons 66 241.9 ... 19.7 107.2 /teams/DET/2020.html
25 New York Knicks 66 241.9 ... 22.2 105.8 /teams/NYK/2020.html
26 Cleveland Cavaliers 65 241.9 ... 18.3 106.9 /teams/CLE/2020.html
27 Chicago Bulls 65 241.2 ... 21.8 106.8 /teams/CHI/2020.html
28 Golden State Warriors 65 241.9 ... 20.1 106.3 /teams/GSW/2020.html
29 Charlotte Hornets 65 242.3 ... 18.8 102.9 /teams/CHO/2020.html
[30 rows x 25 columns]
>>> opp_per_gm_df
name g mp ... opp_pf opp_pts link
0 Charlotte Hornets 65 242.3 ... 20.6 109.6 /teams/CHO/2020.html
1 Chicago Bulls 65 241.2 ... 19.2 109.9 /teams/CHI/2020.html
2 Detroit Pistons 66 241.9 ... 19.8 110.8 /teams/DET/2020.html
3 New York Knicks 66 241.9 ... 19.8 112.3 /teams/NYK/2020.html
4 Cleveland Cavaliers 65 241.9 ... 19.6 114.8 /teams/CLE/2020.html
5 Golden State Warriors 65 241.9 ... 20.1 115.0 /teams/GSW/2020.html
6 Minnesota Timberwolves 64 243.1 ... 21.6 117.5 /teams/MIN/2020.html
7 Los Angeles Lakers 71 240.7 ... 21.7 107.6 /teams/LAL/2020.html
8 Toronto Raptors 72 241.4 ... 20.4 106.5 /teams/TOR/2020.html
9 Boston Celtics 72 242.1 ... 20.7 107.3 /teams/BOS/2020.html
10 Oklahoma City Thunder 72 242.1 ... 22.8 108.4 /teams/OKC/2020.html
11 Utah Jazz 72 241.0 ... 20.8 108.8 /teams/UTA/2020.html
12 Indiana Pacers 73 241.4 ... 18.8 107.5 /teams/IND/2020.html
13 Orlando Magic 73 240.7 ... 19.5 108.3 /teams/ORL/2020.html
14 Philadelphia 76ers 73 241.0 ... 20.5 108.4 /teams/PHI/2020.html
15 Los Angeles Clippers 72 241.4 ... 22.9 109.9 /teams/LAC/2020.html
16 Milwaukee Bucks 73 241.0 ... 21.7 108.6 /teams/MIL/2020.html
17 Miami Heat 73 243.1 ... 21.7 109.1 /teams/MIA/2020.html
18 Denver Nuggets 73 243.1 ... 20.5 109.2 /teams/DEN/2020.html
19 Atlanta Hawks 67 243.0 ... 21.0 119.7 /teams/ATL/2020.html
20 Sacramento Kings 72 242.4 ... 19.5 112.1 /teams/SAC/2020.html
21 Brooklyn Nets 72 242.8 ... 21.1 112.3 /teams/BRK/2020.html
22 San Antonio Spurs 71 242.5 ... 20.1 115.2 /teams/SAS/2020.html
23 Houston Rockets 72 241.4 ... 21.0 114.8 /teams/HOU/2020.html
24 Phoenix Suns 73 241.0 ... 22.6 113.4 /teams/PHO/2020.html
25 Memphis Grizzlies 73 240.7 ... 20.2 113.7 /teams/MEM/2020.html
26 Dallas Mavericks 75 242.3 ... 21.3 112.1 /teams/DAL/2020.html
27 New Orleans Pelicans 72 242.1 ... 21.1 117.1 /teams/NOP/2020.html
28 Washington Wizards 72 241.0 ... 22.2 119.1 /teams/WAS/2020.html
29 Portland Trail Blazers 74 241.0 ... 20.1 116.1 /teams/POR/2020.html
[30 rows x 25 columns]
>>> per_poss_df
name g mp ... pf pts link
0 Dallas Mavericks 75 18175 ... 19.4 116.7 /teams/DAL/2020.html
1 Milwaukee Bucks 73 17595 ... 18.6 112.4 /teams/MIL/2020.html
2 Portland Trail Blazers 74 17835 ... 21.5 113.7 /teams/POR/2020.html
3 Houston Rockets 72 17380 ... 20.8 112.9 /teams/HOU/2020.html
4 Los Angeles Clippers 72 17380 ... 21.7 113.9 /teams/LAC/2020.html
5 New Orleans Pelicans 72 17430 ... 20.2 110.7 /teams/NOP/2020.html
6 Phoenix Suns 73 17595 ... 21.7 111.7 /teams/PHO/2020.html
7 Washington Wizards 72 17355 ... 22.0 110.9 /teams/WAS/2020.html
8 Memphis Grizzlies 73 17570 ... 20.5 109.2 /teams/MEM/2020.html
9 Boston Celtics 72 17430 ... 21.5 113.3 /teams/BOS/2020.html
10 Miami Heat 73 17745 ... 20.6 112.5 /teams/MIA/2020.html
11 Denver Nuggets 73 17745 ... 20.7 113.1 /teams/DEN/2020.html
12 Toronto Raptors 72 17380 ... 21.3 111.1 /teams/TOR/2020.html
13 San Antonio Spurs 71 17215 ... 19.1 112.4 /teams/SAS/2020.html
14 Philadelphia 76ers 73 17595 ... 21.1 111.3 /teams/PHI/2020.html
15 Los Angeles Lakers 71 17090 ... 20.5 112.0 /teams/LAL/2020.html
16 Brooklyn Nets 72 17480 ... 20.4 108.9 /teams/BRK/2020.html
17 Utah Jazz 72 17355 ... 20.6 112.3 /teams/UTA/2020.html
18 Indiana Pacers 73 17620 ... 19.9 110.0 /teams/IND/2020.html
19 Oklahoma City Thunder 72 17430 ... 19.4 110.8 /teams/OKC/2020.html
20 Sacramento Kings 72 17455 ... 22.2 110.2 /teams/SAC/2020.html
21 Orlando Magic 73 17570 ... 18.5 108.5 /teams/ORL/2020.html
22 Atlanta Hawks 67 16280 ... 22.2 107.2 /teams/ATL/2020.html
23 Minnesota Timberwolves 64 15560 ... 20.4 108.1 /teams/MIN/2020.html
24 Detroit Pistons 66 15965 ... 20.0 109.0 /teams/DET/2020.html
25 New York Knicks 66 15965 ... 22.3 106.5 /teams/NYK/2020.html
26 Cleveland Cavaliers 65 15725 ... 18.4 107.5 /teams/CLE/2020.html
27 Chicago Bulls 65 15675 ... 21.8 106.7 /teams/CHI/2020.html
28 Golden State Warriors 65 15725 ... 19.8 105.2 /teams/GSW/2020.html
29 Charlotte Hornets 65 15750 ... 19.5 106.3 /teams/CHO/2020.html
[30 rows x 25 columns]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment