Fantasy Ranking Of NBA Players From 1982-2019
Basic stats for all players and z-scores to determine best fantasy players
@kaggle.stefanbansvil_fantasy_ranking_of_nba_players_from_19822019
Basic stats for all players and z-scores to determine best fantasy players
@kaggle.stefanbansvil_fantasy_ranking_of_nba_players_from_19822019
So I created this dataset last year in an attempt to get a leg up on my friends in our little fantasy league. Plus it allowed me to practice web-scraping and my data wrangling skills.
The data set contains all the basics stats from all player seasons from 1982-2019. The data was scraped off https://www.basketball-reference.com.
To the basic list of stats, I calculated a z-score to determine how the individual player season compared to the average player season in the 9 categories that we use in our fantasy league (points, rebounds, steals, blocks, assists, 3 pointers made, field goal percentage, free throw percentage and turnovers (which counts negatively)). I then calculated a total z-score which reflects how good the player season is from a fantasy perspective.
The top 10 player seasons I found were:
Interestingly enough Larry Bird and Michael Jordan dominates the leaderboard with 8 out the top 10 spots.
Hope you can find some inspiration in what I've concocted.
Please reach out if you have any questions or have suggestions for improvements.
CREATE TABLE nba_rank_by_year_tbl (
"year" BIGINT,
"player" VARCHAR,
"pos" VARCHAR,
"age" BIGINT,
"g" BIGINT,
"gs" BIGINT,
"mp" BIGINT,
"fg" BIGINT,
"fga" BIGINT,
"fg3" BIGINT,
"fg3a" BIGINT,
"fg2" BIGINT,
"fg2a" BIGINT,
"ft" BIGINT,
"fta" BIGINT,
"orb" BIGINT,
"drb" BIGINT,
"trb" BIGINT,
"ast" BIGINT,
"stl" BIGINT,
"blk" BIGINT,
"tov" BIGINT,
"pf" BIGINT,
"pts" BIGINT,
"avg_min_per_game" DOUBLE,
"fg_pct_add" DOUBLE,
"ft_pct_add" DOUBLE,
"age_avg" DOUBLE,
"g_avg" DOUBLE,
"gs_avg" DOUBLE,
"mp_avg" DOUBLE,
"fg_avg" DOUBLE,
"fga_avg" DOUBLE,
"fg3_avg" DOUBLE,
"fg3a_avg" DOUBLE,
"fg2_avg" DOUBLE,
"fg2a_avg" DOUBLE,
"ft_avg" DOUBLE,
"fta_avg" DOUBLE,
"orb_avg" DOUBLE,
"drb_avg" DOUBLE,
"trb_avg" DOUBLE,
"ast_avg" DOUBLE,
"stl_avg" DOUBLE,
"blk_avg" DOUBLE,
"tov_avg" DOUBLE,
"pf_avg" DOUBLE,
"pts_avg" DOUBLE,
"fg_pct_add_avg" DOUBLE,
"ft_pct_add_avg" DOUBLE,
"age_sd" DOUBLE,
"g_sd" DOUBLE,
"gs_sd" DOUBLE,
"mp_sd" DOUBLE,
"fg_sd" DOUBLE,
"fga_sd" DOUBLE,
"fg3_sd" DOUBLE,
"fg3a_sd" DOUBLE,
"fg2_sd" DOUBLE,
"fg2a_sd" DOUBLE,
"ft_sd" DOUBLE,
"fta_sd" DOUBLE,
"orb_sd" DOUBLE,
"drb_sd" DOUBLE,
"trb_sd" DOUBLE,
"ast_sd" DOUBLE,
"stl_sd" DOUBLE,
"blk_sd" DOUBLE,
"tov_sd" DOUBLE,
"pf_sd" DOUBLE,
"pts_sd" DOUBLE,
"fg_pct_add_sd" DOUBLE,
"ft_pct_add_sd" DOUBLE,
"z_pts" DOUBLE,
"z_reb" DOUBLE,
"z_stl" DOUBLE,
"z_blk" DOUBLE,
"z_ast" DOUBLE,
"z_tov" DOUBLE,
"z_fg3" DOUBLE,
"z_fg_pct" DOUBLE,
"z_ft_pct" DOUBLE,
"z_total" DOUBLE
);Anyone who has the link will be able to view this.