Skip to content

Headshot plots of shooting stats from the Lakers' '21-'22 season

Notifications You must be signed in to change notification settings

ericrdrew/Lakers-Shooting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lakers

LakersShooting.py:

Read in Lakers individual per game and shooting data from 2021/22 season, removed players with few games played. Downloaded player headshots from Bball-Ref and added paths for Python to point to for logo plotting. Defined "getImage" function that pulls each of the images before the plot is created.

Plot shows mid-range shooting percentages against the percent of shots a player takes that are mid-range, using headshots for the data points.

Final for loop adds the images onto the data points that were pulled from the getImage fn.

Data used:lakersPerGame.csv and lakersShooting.csv.

Source(s):

Per Game: https://www.basketball-reference.com/teams/LAL/2022.html

About

Headshot plots of shooting stats from the Lakers' '21-'22 season

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published