Women's college basketball — additional Python functions — Analytics: wbb_player–wbb_team
wbb_player_war
wbb_player_war(seasons: 'int | list[int]', *, return_as_pandas: 'bool' = False) -> 'pl.DataFrame | pd.DataFrame'
Women's college WAR and VORP per player-season, from our box BPM.
Delegates to sportsdataverse.mbb.mbb_player_war.mbb_player_war with
league="womens". Box BPM covers every D1 team from 2017 (about 80 teams in 2014-2016).
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasons | int | list[int] | A season or list of seasons, named by the year it ends (2025 is 2024-25). | |
return_as_pandas | bool | False | Return a pandas frame instead of polars. |
Returns
One row per (season, player_id) of a D1 team: player_name, team_id, teams, min, poss, rating, vorp, war and the _rank / _pct / _n columns. See the mbb core for the definitions.
| col_name | type | description |
|---|---|---|
season | Int64 | Season, named by the year it ends (2025 is 2024-25). |
player_id | String | The player's ESPN athlete id, as text (the box-score id the college player-value models key on). |
player_name | String | Player name, from the box score. |
team_id | String | ESPN team id of the Division I team he played the most possessions for. |
teams | Int64 | How many Division I teams he played for. |
team_ids | String | Every team he played for that season, comma-separated, most possessions first (the first is team_id); roster_tiers puts him on each. |
conference_id | String | ESPN conference id of team_id that season (college_teams over the schedule release); null for a team the schedule gives no Division I conference. |
min | Float64 | Minutes in the season's box scores. |
poss | Float64 | Possessions: minutes / 40 * the team's adjusted tempo (mbb_team_ratings adj_tempo, possessions per 40 minutes). College has no published on-court possessions for every game. The minutes basis of vorp and war. |
rating | Float64 | Points per 100 possessions above an average Division I player: box BPM (mbb_box_bpm, model 1 of the player-value spine), re-anchored to the team (team mean = adjusted efficiency margin minus the D1 mean, / 5) and centred so the D1 possession-weighted mean is 0. |
vorp | Float64 | Value over replacement player: (rating - R) * poss / the season's possessions per D1 team, R the league's replacement level (REPLACEMENT_LEVEL; MBB -1.66, WBB -1.99 per 100). A season of possessions at R + 1 is a VORP of 1. |
war | Float64 | Wins above replacement against an average D1 schedule: (rating - R) * poss / 100 / points per win (PTS_PER_WIN; MBB 38.91, WBB 47.10). 0 at replacement level; a replacement team wins about .35. |
war_lo | Float64 | Low end of the nominal 90% interval for war (5th percentile of 1000 bootstrap replicates, each team-season seeded on its own): each team-season's games resampled with replacement (a game's player possessions, team possessions and margin move together), then his possessions, the team net rating, the anchoring and the centring recomputed. The source ratings and the replacement level are held fixed, so this is the sampling uncertainty of the team side and the playing time (in college the replicate's adjusted net rating is the adjusted rating plus the change in the raw one); box BPM's own sampling error is in no column. |
war_hi | Float64 | High end of the nominal 90% interval for war (95th percentile of the same 1000 game-resampled replicates as war_lo). |
vorp_rank | Float64 | Rank of vorp within the season among every player (1 = most; ties average); null under 10 players. |
war_rank | Float64 | Rank of war within the season among every player (1 = most; ties average); null under 10 players. |
vorp_pct | Float64 | Percentile of vorp within the season: 100 * (n + 1 - rank) / (n + 1), n the players ranked; null when the rank is null. |
war_pct | Float64 | Percentile of war within the season: 100 * (n + 1 - rank) / (n + 1), n the players ranked; null when the rank is null. |
vorp_n | Int64 | Sample size of vorp: on-court possessions, rounded. |
war_n | Int64 | Sample size of war: on-court possessions, rounded. |
war_tier | String | Depth-ladder tier by WAR percentile within the season's tier cohort, the players with on-court possessions of at least a tenth of the season's possessions per team (TIER_MIN_POSS_SHARE): Star (95 or more), Starter (80 to under 95), Rotation (50 to under 80), Bench (20 to under 50), Fringe (under 20), about the top 5%, then 15%, 30%, 30% and 20%, to within a player at each floor. The percentile is 100 * (n + 1 - rank) / (n + 1) among the cohort, not war_pct. Null under the possession floor (a call-up who barely played) and in a season whose cohort is under ten players. |
war_tier_conf | String | war_tier's ladder within the season's conference (his team_id's), over the same possession floor: Star (95 or more), Starter (80 to under 95), Rotation (50 to under 80), Bench (20 to under 50), Fringe (under 20). Null under the floor, with no conference, or in a conference whose cohort is under ten players. |
pts_pg | Float64 | Points per game he played (minutes over 0), from the ESPN box rows of his Division I games. |
reb_pg | Float64 | Rebounds per game he played (minutes over 0), from the ESPN box rows of his Division I games. |
ast_pg | Float64 | Assists per game he played (minutes over 0), from the ESPN box rows of his Division I games. |
pts_pg_rank | Float64 | Rank of pts_pg among the season's players with at least the games gate (1 game); 1 = most, ties averaged. Null under ten ranked players. |
reb_pg_rank | Float64 | Rank of reb_pg among the season's players with at least the games gate (2 games); 1 = most, ties averaged. Null under ten ranked players. |
ast_pg_rank | Float64 | Rank of ast_pg among the season's players with at least the games gate (2 games); 1 = most, ties averaged. Null under ten ranked players. |
pts_pg_pct | Float64 | Percentile of pts_pg_rank: 100 * (n + 1 - rank) / (n + 1), n the ranked players. |
reb_pg_pct | Float64 | Percentile of reb_pg_rank: 100 * (n + 1 - rank) / (n + 1), n the ranked players. |
ast_pg_pct | Float64 | Percentile of ast_pg_rank: 100 * (n + 1 - rank) / (n + 1), n the ranked players. |
pts_pg_n | Int64 | Games behind pts_pg: the games he played (0 with no box line). |
reb_pg_n | Int64 | Games behind reb_pg: the games he played (0 with no box line). |
ast_pg_n | Int64 | Games behind ast_pg: the games he played (0 with no box line). |
Example
from sportsdataverse.wbb import wbb_player_war
wbb_player_war(2025).select("player_name", "rating", "war").head()
wbb_player_wowy
wbb_player_wowy(seasons: 'int | list[int]', *, return_as_pandas: 'bool' = False) -> 'pl.DataFrame | pd.DataFrame'
Women's college WOWY pairs: a team's season with two teammates together, apart and both off.
Delegates to sportsdataverse.mbb.mbb_player_on_off.mbb_player_wowy with
league="womens".
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasons | int | list[int] | A season or list of seasons, named by the year it ends (2025 is 2024-25). | |
return_as_pandas | bool | False | Return a pandas frame instead of polars. |
Returns
One row per (season, team_id, player_id_a, player_id_b): the _both, _a_only, _b_only and _neither totals, which add up to the team's season, and ratings (not additive: recompute them from summed totals). See the mbb core for the definitions.
| col_name | type | description |
|---|---|---|
season | Int64 | Season, named by the year it ends (2025 is 2024-25). |
team_id | Int64 | ESPN team id; a non-D1 team has none and gets no rows. |
player_id_a | String | The first player of the pair, the smaller id as a string. |
player_id_b | String | The second player of the pair, the larger id as a string. |
minutes_both | Float64 | Game-clock minutes of the team's season with both A and B on the floor. |
poss_both | Int64 | The team's offensive possessions with both A and B on the floor (a possession belongs to the five on the floor when it starts). |
opp_poss_both | Int64 | The team's defensive possessions with both A and B on the floor. |
pts_both | Int64 | The team's points with both A and B on the floor, each scoring action credited to the lineup at that action (a free throw to the lineup at the last foul). |
opp_pts_both | Int64 | The opponent's points with both A and B on the floor, credited as pts_both is. |
plus_minus_both | Int64 | pts_both - opp_pts_both. |
off_rtg_both | Float64 | Offensive rating with both A and B on the floor: pts_both per 100 poss_both; null with no possessions. |
def_rtg_both | Float64 | Defensive rating with both A and B on the floor: opp_pts_both per 100 opp_poss_both; null with no possessions. |
net_rtg_both | Float64 | Net rating with both A and B on the floor: off_rtg_both - def_rtg_both; null when either is null. |
minutes_a_only | Float64 | Game-clock minutes of the team's season with A on the floor and B off. |
poss_a_only | Int64 | The team's offensive possessions with A on the floor and B off (a possession belongs to the five on the floor when it starts). |
opp_poss_a_only | Int64 | The team's defensive possessions with A on the floor and B off. |
pts_a_only | Int64 | The team's points with A on the floor and B off, each scoring action credited to the lineup at that action (a free throw to the lineup at the last foul). |
opp_pts_a_only | Int64 | The opponent's points with A on the floor and B off, credited as pts_a_only is. |
plus_minus_a_only | Int64 | pts_a_only - opp_pts_a_only. |
off_rtg_a_only | Float64 | Offensive rating with A on the floor and B off: pts_a_only per 100 poss_a_only; null with no possessions. |
def_rtg_a_only | Float64 | Defensive rating with A on the floor and B off: opp_pts_a_only per 100 opp_poss_a_only; null with no possessions. |
net_rtg_a_only | Float64 | Net rating with A on the floor and B off: off_rtg_a_only - def_rtg_a_only; null when either is null. |
minutes_b_only | Float64 | Game-clock minutes of the team's season with B on the floor and A off. |
poss_b_only | Int64 | The team's offensive possessions with B on the floor and A off (a possession belongs to the five on the floor when it starts). |
opp_poss_b_only | Int64 | The team's defensive possessions with B on the floor and A off. |
pts_b_only | Int64 | The team's points with B on the floor and A off, each scoring action credited to the lineup at that action (a free throw to the lineup at the last foul). |
opp_pts_b_only | Int64 | The opponent's points with B on the floor and A off, credited as pts_b_only is. |
plus_minus_b_only | Int64 | pts_b_only - opp_pts_b_only. |
off_rtg_b_only | Float64 | Offensive rating with B on the floor and A off: pts_b_only per 100 poss_b_only; null with no possessions. |
def_rtg_b_only | Float64 | Defensive rating with B on the floor and A off: opp_pts_b_only per 100 opp_poss_b_only; null with no possessions. |
net_rtg_b_only | Float64 | Net rating with B on the floor and A off: off_rtg_b_only - def_rtg_b_only; null when either is null. |
minutes_neither | Float64 | Game-clock minutes of the team's season with neither A nor B on the floor. |
poss_neither | Int64 | The team's offensive possessions with neither A nor B on the floor (a possession belongs to the five on the floor when it starts). |
opp_poss_neither | Int64 | The team's defensive possessions with neither A nor B on the floor. |
pts_neither | Int64 | The team's points with neither A nor B on the floor, each scoring action credited to the lineup at that action (a free throw to the lineup at the last foul). |
opp_pts_neither | Int64 | The opponent's points with neither A nor B on the floor, credited as pts_neither is. |
plus_minus_neither | Int64 | pts_neither - opp_pts_neither. |
off_rtg_neither | Float64 | Offensive rating with neither A nor B on the floor: pts_neither per 100 poss_neither; null with no possessions. |
def_rtg_neither | Float64 | Defensive rating with neither A nor B on the floor: opp_pts_neither per 100 opp_poss_neither; null with no possessions. |
net_rtg_neither | Float64 | Net rating with neither A nor B on the floor: off_rtg_neither - def_rtg_neither; null when either is null. |
Example
from sportsdataverse.wbb import wbb_player_wowy
wbb_player_wowy(2025).sort("minutes_both", descending=True).head()
wbb_situational_lineup
wbb_situational_lineup(seasons: 'int | list[int]', *, top_n: 'int' = 25, return_as_pandas: 'bool' = False) -> 'pl.DataFrame | pd.DataFrame'
Women's college five-man unit splits by situation.
Delegates to sportsdataverse.mbb.mbb_situational.mbb_situational_lineup with league="womens".
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasons | int | list[int] | A season or list of seasons, named by the year it ends (2026 is 2025-26). | |
top_n | int | 25 | As wbb_situational_team. |
return_as_pandas | bool | False | Return a pandas frame instead of polars. |
Returns
One row per (season, team_id, lineup_id, family, split) with the columns of sportsdataverse.nba.nba_situational.nba_situational_lineup (String player ids).
| col_name | type | description |
|---|---|---|
season | Int64 | Season, named by the year it ends (the WNBA season is its calendar year). |
team_id | Int64 | ESPN team id of the team (Int64). |
lineup_id | String | The five player ids of the unit on the floor as the possession starts, sorted and joined with '-' (BB-D4's id). |
player_1 | String | Player 1 of the unit, in lineup_id order. |
player_2 | String | Player 2 of the unit, in lineup_id order. |
player_3 | String | Player 3 of the unit, in lineup_id order. |
player_4 | String | Player 4 of the unit, in lineup_id order. |
player_5 | String | Player 5 of the unit, in lineup_id order. |
family | String | The split family: all, clutch, period, half, garbage, score, venue, opponent or play_type (college has no second-chance flag, so no chance family); within a family the splits add up to the all row. |
split | String | The split: all; clutch / not_clutch; p1..p4 / ot (p1, p2 for halves); h1 / h2 / ot; garbage_time / not_garbage_time; leading / tied / trailing; home / away / neutral; vs_top / vs_rest; transition / half_court. |
games | Int64 | Games with at least one possession in the split (does not add up across a family). |
minutes | Float64 | Game-clock minutes of the split's possessions (seconds / 60). |
seconds | Float64 | Game-clock seconds of the split's possessions: each possession's start clock minus its end clock. |
poss | Int64 | Offensive possessions in the split. |
opp_poss | Int64 | Defensive possessions in the split. |
pts | Int64 | Points scored on the offensive possessions. |
opp_pts | Int64 | Points allowed on the defensive possessions. |
plus_minus | Int64 | Plus-minus over the split: pts - opp_pts. |
off_rtg | Float64 | Offensive rating: pts per 100 poss; null with no offensive possessions. |
def_rtg | Float64 | Defensive rating: opp_pts per 100 opp_poss; null with no defensive possessions. |
net_rtg | Float64 | Net rating: off_rtg - def_rtg; null when either is null. |
off_rtg_n | Int64 | Sample size of off_rtg: poss. |
def_rtg_n | Int64 | Sample size of def_rtg: opp_poss. |
net_rtg_n | Int64 | Sample size of net_rtg: poss + opp_poss. |
Example
from sportsdataverse.wbb import wbb_situational_lineup
wbb_situational_lineup(2026).filter(split="transition").sort("poss", descending=True).head()
wbb_situational_player
wbb_situational_player(seasons: 'int | list[int]', *, top_n: 'int' = 25, return_as_pandas: 'bool' = False) -> 'pl.DataFrame | pd.DataFrame'
Women's college player on-floor splits by situation.
Delegates to sportsdataverse.mbb.mbb_situational.mbb_situational_player with league="womens".
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasons | int | list[int] | A season or list of seasons, named by the year it ends (2026 is 2025-26). | |
top_n | int | 25 | As wbb_situational_team. |
return_as_pandas | bool | False | Return a pandas frame instead of polars. |
Returns
One row per (season, team_id, player_id, family, split) with the columns of sportsdataverse.nba.nba_situational.nba_situational_player (String player ids).
| col_name | type | description |
|---|---|---|
season | Int64 | Season, named by the year it ends (the WNBA season is its calendar year). |
team_id | Int64 | ESPN team id of the team (Int64). |
player_id | String | stats.ncaa.org player id (no NCAA-to-ESPN player crosswalk yet). A possession counts for the five on the floor as it starts, with all its points. |
family | String | The split family: all, clutch, period, half, garbage, score, venue, opponent or play_type (college has no second-chance flag, so no chance family); within a family the splits add up to the all row. |
split | String | The split: all; clutch / not_clutch; p1..p4 / ot (p1, p2 for halves); h1 / h2 / ot; garbage_time / not_garbage_time; leading / tied / trailing; home / away / neutral; vs_top / vs_rest; transition / half_court. |
games | Int64 | Games with at least one possession in the split (does not add up across a family). |
minutes | Float64 | Game-clock minutes of the split's possessions (seconds / 60). |
seconds | Float64 | Game-clock seconds of the split's possessions: each possession's start clock minus its end clock. |
poss | Int64 | Offensive possessions in the split. |
opp_poss | Int64 | Defensive possessions in the split. |
pts | Int64 | Points scored on the offensive possessions. |
opp_pts | Int64 | Points allowed on the defensive possessions. |
plus_minus | Int64 | Plus-minus over the split: pts - opp_pts. |
off_rtg | Float64 | Offensive rating: pts per 100 poss; null with no offensive possessions. |
def_rtg | Float64 | Defensive rating: opp_pts per 100 opp_poss; null with no defensive possessions. |
net_rtg | Float64 | Net rating: off_rtg - def_rtg; null when either is null. |
off_rtg_n | Int64 | Sample size of off_rtg: poss. |
def_rtg_n | Int64 | Sample size of def_rtg: opp_poss. |
net_rtg_n | Int64 | Sample size of net_rtg: poss + opp_poss. |
Example
from sportsdataverse.wbb import wbb_situational_player
wbb_situational_player(2026).filter(split="clutch").sort("net_rtg_n", descending=True).head()
wbb_situational_team
wbb_situational_team(seasons: 'int | list[int]', *, top_n: 'int' = 25, return_as_pandas: 'bool' = False) -> 'pl.DataFrame | pd.DataFrame'
Women's college team splits by situation: clutch, period, half, garbage time, score, venue, opponent, play type.
Delegates to sportsdataverse.mbb.mbb_situational.mbb_situational_team with league="womens".
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasons | int | list[int] | A season or list of seasons, named by the year it ends (2026 is 2025-26). | |
top_n | int | 25 | How many of the season's best teams by the published adj_em are vs_top. |
return_as_pandas | bool | False | Return a pandas frame instead of polars. |
Returns
One row per (season, team_id, family, split) with the columns of sportsdataverse.nba.nba_situational.nba_situational_team.
| col_name | type | description |
|---|---|---|
season | Int64 | Season, named by the year it ends (the WNBA season is its calendar year). |
team_id | Int64 | ESPN team id of the team (Int64). |
family | String | The split family: all, clutch, period, half, garbage, score, venue, opponent or play_type (college has no second-chance flag, so no chance family); within a family the splits add up to the all row. |
split | String | The split: all; clutch / not_clutch; p1..p4 / ot (p1, p2 for halves); h1 / h2 / ot; garbage_time / not_garbage_time; leading / tied / trailing; home / away / neutral; vs_top / vs_rest; transition / half_court. |
games | Int64 | Games with at least one possession in the split (does not add up across a family). |
minutes | Float64 | Game-clock minutes of the split's possessions (seconds / 60). |
seconds | Float64 | Game-clock seconds of the split's possessions: each possession's start clock minus its end clock. |
poss | Int64 | Offensive possessions in the split. |
opp_poss | Int64 | Defensive possessions in the split. |
pts | Int64 | Points scored on the offensive possessions. |
opp_pts | Int64 | Points allowed on the defensive possessions. |
plus_minus | Int64 | Plus-minus over the split: pts - opp_pts. |
off_rtg | Float64 | Offensive rating: pts per 100 poss; null with no offensive possessions. |
def_rtg | Float64 | Defensive rating: opp_pts per 100 opp_poss; null with no defensive possessions. |
net_rtg | Float64 | Net rating: off_rtg - def_rtg; null when either is null. |
off_rtg_n | Int64 | Sample size of off_rtg: poss. |
def_rtg_n | Int64 | Sample size of def_rtg: opp_poss. |
net_rtg_n | Int64 | Sample size of net_rtg: poss + opp_poss. |
Example
from sportsdataverse.wbb import wbb_situational_team
wbb_situational_team(2026).filter(split="clutch").sort("net_rtg", descending=True).head()
wbb_situational_team_games
wbb_situational_team_games(seasons: 'int | list[int]', *, top_n: 'int' = 25, return_as_pandas: 'bool' = False) -> 'pl.DataFrame | pd.DataFrame'
Women's college team splits by situation, one game at a time.
Delegates to sportsdataverse.mbb.mbb_situational.mbb_situational_team_games with
league="womens".
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasons | int | list[int] | A season or list of seasons, named by the year it ends (2026 is 2025-26). | |
top_n | int | 25 | How many of the season's best teams by the published adj_em are vs_top. |
return_as_pandas | bool | False | Return a pandas frame instead of polars. |
Returns
One row per (season, team_id, game_id, family, split) with the columns of sportsdataverse.mbb.mbb_situational.mbb_situational_team_games.
| col_name | type | description |
|---|---|---|
season | Int64 | Season, named by the year it ends (the WNBA season is its calendar year). |
team_id | Int64 | ESPN team id of the team (Int64). |
game_id | String | stats.ncaa.org contest id. |
family | String | The split family: all, clutch, period, half, garbage, score, venue, opponent or play_type (college has no second-chance flag, so no chance family); within a family the splits add up to the all row. |
split | String | The split: all; clutch / not_clutch; p1..p4 / ot (p1, p2 for halves); h1 / h2 / ot; garbage_time / not_garbage_time; leading / tied / trailing; home / away / neutral; vs_top / vs_rest; transition / half_court. |
games | Int64 | 1: the row is one game (summed over a team-season's rows it is the season row's games). |
minutes | Float64 | Game-clock minutes of the split's possessions (seconds / 60). |
seconds | Float64 | Game-clock seconds of the split's possessions: each possession's start clock minus its end clock. |
poss | Int64 | Offensive possessions in the split. |
opp_poss | Int64 | Defensive possessions in the split. |
pts | Int64 | Points scored on the offensive possessions. |
opp_pts | Int64 | Points allowed on the defensive possessions. |
plus_minus | Int64 | Plus-minus over the split: pts - opp_pts. |
off_rtg | Float64 | Offensive rating: pts per 100 poss; null with no offensive possessions. |
def_rtg | Float64 | Defensive rating: opp_pts per 100 opp_poss; null with no defensive possessions. |
net_rtg | Float64 | Net rating: off_rtg - def_rtg; null when either is null. |
off_rtg_n | Int64 | Sample size of off_rtg: poss. |
def_rtg_n | Int64 | Sample size of def_rtg: opp_poss. |
net_rtg_n | Int64 | Sample size of net_rtg: poss + opp_poss. |
fga | Int64 | Field-goal attempts in the split: the team's shot_value 2 and 3 events in the ncaa pbp; null on the families other than all and garbage. |
fgm | Int64 | Made field goals in the split (event_result made); null on the families other than all and garbage. |
fg3a | Int64 | Three-point attempts in the split (shot_value 3); null on the families other than all and garbage. |
fg3m | Int64 | Made threes in the split; null on the families other than all and garbage. |
fta | Int64 | Free-throw attempts in the split (shot_value 1); null on the families other than all and garbage. |
ftm | Int64 | Made free throws in the split; null on the families other than all and garbage. |
oreb | Int64 | Offensive rebounds in the split (Offensive Rebound events, team rebounds included); null on the families other than all and garbage. |
dreb | Int64 | Defensive rebounds in the split (Defensive Rebound events, team rebounds included); null on the families other than all and garbage. |
tov | Int64 | Turnovers in the split (Turnover events, team turnovers included); null on the families other than all and garbage. |
Example
from sportsdataverse.wbb import wbb_situational_team_games
wbb_situational_team_games(2026).filter(split="clutch").head()
wbb_strength_of_schedule
wbb_strength_of_schedule(seasons: 'list[int]', *, as_of_date: 'datetime.date | None' = None, ineligible: 'Iterable[str] | None' = None, return_as_pandas: 'bool' = False) -> 'pl.DataFrame | pd.DataFrame'
Women's daily strength_of_schedule table: records, SoS, quad résumé, WAB, RPI and a NET estimate.
Delegates to sportsdataverse.mbb.mbb_strength_of_schedule.mbb_strength_of_schedule with league="womens" (WBB loaders, women's constants and quad ranges; RPI location weights from 2011-12).
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasons | list[int] | Seasons to compute (e.g. [2024]). | |
as_of_date | date | None | None | Only use games strictly before this date; None uses every completed game. |
ineligible | Iterable[str] | None | None | Team ids barred from the NCAA tournament (sets eligible); None (default) reads the bundled list for each season. |
return_as_pandas | bool | False | Return a pandas DataFrame instead of polars. |
Returns
One row per Division I (season, team_id) -- see the mbb core for the full contract.
| col_name | type | description |
|---|---|---|
season | Int64 | Season, named by its end year (2024 is 2023-24). |
as_of_date | Date | The as-of date: only games strictly before it count as played. Null when every completed game is used. |
team_id | String | ESPN team id (Utf8). |
team | String | Team (ESPN location name). |
conference_id | String | ESPN conference id, read off the schedule (Utf8). |
conference | String | Conference short name. Null for independents, which get no auto-bid. |
eligible | Boolean | False for a team the caller listed as barred from the NCAA tournament (reclassifying to Division I, a postseason ban). It counts in every rating and résumé but gets no bid. |
wins | Int64 | Wins in played games, against every opponent (non-Division I included). |
losses | Int64 | Losses in played games, against every opponent. |
conf_wins | Int64 | Regular-season conference wins (conference tournaments and multi-team events excluded). |
conf_losses | Int64 | Regular-season conference losses. |
games | Int64 | Games behind the ratings (every played game with a usable box score). |
adj_o | Float64 | Opponent-adjusted offensive efficiency: points per 100 possessions (mbb_team_ratings). |
adj_d | Float64 | Opponent-adjusted defensive efficiency: points allowed per 100 possessions. |
adj_em | Float64 | Adjusted efficiency margin, adj_o - adj_d. |
adj_em_z | Float64 | adj_em z-scored over Division I within the season. |
sos | Float64 | Strength of schedule: mean opponent adj_em over Division I games. |
wab | Float64 | Wins above bubble: Division I wins minus a bubble-quality team's expected wins against the same schedule and venues. |
quad1_w | Int64 | Quad 1 wins over Division I opponents, by the opponent's NET-estimate rank and the venue (NCAA ranges, men's and women's differ). |
quad1_l | Int64 | Quad 1 losses to Division I opponents, by the same opponent rank and venue ranges. |
quad2_w | Int64 | Quad 2 wins over Division I opponents, by the opponent's NET-estimate rank and the venue (NCAA ranges, men's and women's differ). |
quad2_l | Int64 | Quad 2 losses to Division I opponents, by the same opponent rank and venue ranges. |
quad3_w | Int64 | Quad 3 wins over Division I opponents, by the opponent's NET-estimate rank and the venue (NCAA ranges, men's and women's differ). |
quad3_l | Int64 | Quad 3 losses to Division I opponents, by the same opponent rank and venue ranges. |
quad4_w | Int64 | Quad 4 wins over Division I opponents, by the opponent's NET-estimate rank and the venue (NCAA ranges, men's and women's differ). |
quad4_l | Int64 | Quad 4 losses to Division I opponents, by the same opponent rank and venue ranges. |
quality_wins | Int64 | Quad 1 plus Quad 2 wins. |
rpi_games | Int64 | Division I games behind the RPI. |
rpi_wp | Float64 | RPI winning percentage over Division I games, location weighted: a home win 0.6, a road win 1.4, a home loss 1.4, a road loss 0.6, neutral 1.0 (men's from 2004-05, women's from 2011-12). |
rpi_owp | Float64 | Opponents' winning percentage: each opponent's unweighted Division I record without its games against this team, averaged over this team's games. |
rpi_oowp | Float64 | Opponents' opponents' winning percentage: the opponents' rpi_owp averaged over this team's games. |
rpi | Float64 | NCAA Rating Percentage Index: 0.25 * rpi_wp + 0.50 * rpi_owp + 0.25 * rpi_oowp. |
net_estimate | Float64 | NET-style score: 0.8 * z(adj_em) + 0.2 * z(wab) within the season (the NET's efficiency and results halves; weights fitted to the men's 2024 NET). Higher is better. |
adj_em_rank | Float64 | Rank of adj_em within the season among Division I teams: 1 is best, average ties. |
adj_em_pct | Float64 | Percentile of adj_em within the season: 100 * (n + 1 - rank) / (n + 1). |
adj_em_n | Int64 | Sample size of adj_em: the games behind the ratings. |
sos_rank | Float64 | Rank of sos (1 = hardest schedule) within the season among Division I teams: 1 is best, average ties. |
sos_pct | Float64 | Percentile of sos within the season: 100 * (n + 1 - rank) / (n + 1). |
sos_n | Int64 | Sample size of sos: the team's Division I games. |
wab_rank | Float64 | Rank of wab within the season among Division I teams: 1 is best, average ties. |
wab_pct | Float64 | Percentile of wab within the season: 100 * (n + 1 - rank) / (n + 1). |
wab_n | Int64 | Sample size of wab: the team's Division I games. |
rpi_rank | Float64 | Rank of rpi within the season among Division I teams: 1 is best, average ties. |
rpi_pct | Float64 | Percentile of rpi within the season: 100 * (n + 1 - rank) / (n + 1). |
rpi_n | Int64 | Sample size of rpi: the team's Division I games. |
net_estimate_rank | Float64 | Rank of net_estimate (the NET-estimate ranking the quads use) within the season among Division I teams: 1 is best, average ties. |
net_estimate_pct | Float64 | Percentile of net_estimate within the season: 100 * (n + 1 - rank) / (n + 1). |
net_estimate_n | Int64 | Sample size of net_estimate: the team's Division I games. |
Example
from sportsdataverse.wbb import wbb_strength_of_schedule
wbb_strength_of_schedule([2024]).sort("rpi_rank").head(20)
wbb_team_game_four_factors
wbb_team_game_four_factors(seasons: 'int | list[int]', *, return_as_pandas: 'bool' = False) -> 'pl.DataFrame | pd.DataFrame'
Women's college per team and game: the four factors in points against the season's league average.
Delegates to sportsdataverse.mbb.mbb_team_season_rates.mbb_team_game_four_factors with
league="womens". The five *_pts columns add up to pts_vs_exp exactly; a game with
no team-box row has exp_pts but null factors.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasons | int | list[int] | A season or list of seasons, named by the year it ends (2025 is 2024-25). | |
return_as_pandas | bool | False | Return a pandas frame instead of polars. |
Returns
One row per (season, team_id, game_id): poss, pts, exp_pts, pts_vs_exp, the five *_pts columns and the season's league values. See the mbb core for the definitions.
| col_name | type | description |
|---|---|---|
season | Int64 | Season, named by the year it ends (2025 is 2024-25). |
team_id | Int64 | ESPN team id (a non-D1 opponent gets no row). |
game_id | String | The stats.ncaa.org contest id. |
poss | Int64 | The team's offensive possessions in the game, counted from possession rows. |
pts | Int64 | Points scored on the team's offensive possessions in the game. From the play-by-play. |
exp_pts | Float64 | Points a league-average offense scores on the team's counted possessions, lg_ppp x poss. |
pts_vs_exp | Float64 | Points above (+) or below (-) a league-average offense on the same possessions, pts - exp_pts. The four *_pts factors and residual_pts add up to it exactly; they are null (and do not) when a league value they use has a zero denominator or the game has no counts. |
shooting_pts | Float64 | Points from shooting: 2 x (eFG% - lg_efg_pct) x FGA, the same shots above a league-average shooter, plus chance_pts x lg_orb_pct x the rebound chances above the league's per FGA: the misses a league-average offense gets back. |
turnover_pts | Float64 | Points from turnovers: (lg_tov_pct x poss - TOV) x chance_pts, the turnovers saved, each a chance. |
rebounding_pts | Float64 | Points from offensive rebounding: (OREB - lg_orb_pct x (OREB + opponent DREB)) x chance_pts, the extra offensive rebounds on the team's own rebound chances, each a new chance. |
free_throw_pts | Float64 | Points from free throws: (FTA - lg_ft_rate x FGA) x (lg_ft_pct - 0.44 x chance_pts), the extra free throws at a league-average make less the share of a chance each uses, plus FTM - lg_ft_pct x FTA, the makes above league FT%. |
residual_pts | Float64 | The remainder, exactly (pts - box_pts - FGA x the league's pooled (pts - box_pts) / FGA) + chance_pts x (box_poss - poss - FGA x the league's pooled (box_poss - poss) / FGA), box_pts = 2 FGM + 3PM + FTM, box_poss = FGA - OREB + TOV + 0.44 FTA: the play-by-play points' and possessions' distance from the team box beyond the league's. Sums to zero over the league. |
lg_ppp | Float64 | League points per counted possession in the season, over the priced team-games (those with all their counts). |
lg_efg_pct | Float64 | League effective field-goal percentage in the season, (FGM + 0.5 3PM) / FGA over the priced team-games (those with all their counts). |
lg_tov_pct | Float64 | League turnovers per counted possession in the season, over the priced team-games (those with all their counts). |
lg_orb_pct | Float64 | League offensive-rebound percentage in the season, OREB / (OREB + opponent DREB) over the priced team-games (those with all their counts). |
lg_ft_rate | Float64 | League free-throw rate in the season, FTA / FGA over the priced team-games (those with all their counts). |
lg_ft_pct | Float64 | League free-throw percentage in the season, FTM / FTA over the priced team-games (those with all their counts). |
chance_pts | Float64 | Points a chance is worth, lg_ppp / (1 - lg_tov_pct): a possession that does not end in a turnover. The price of a turnover saved and of an extra offensive rebound. |
Example
from sportsdataverse.wbb import wbb_team_game_four_factors
wbb_team_game_four_factors(2025).sort("pts_vs_exp").head()
wbb_team_game_possessions
wbb_team_game_possessions(seasons: 'int | list[int]', *, return_as_pandas: 'bool' = False) -> 'pl.DataFrame | pd.DataFrame'
Women's college per team and game: the possession counts behind wbb_team_season_rates.
Delegates to sportsdataverse.mbb.mbb_team_season_rates.mbb_team_game_possessions with
league="womens". A team-season's rows of a split add up to its season row.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasons | int | list[int] | A season or list of seasons, named by the year it ends (2025 is 2024-25). | |
return_as_pandas | bool | False | Return a pandas frame instead of polars. |
Returns
One row per (season, team_id, game_id, split): poss, opp_poss, pts, opp_pts and seconds. See the mbb core for the definitions.
| col_name | type | description |
|---|---|---|
season | Int64 | Season, named by the year it ends (2025 is 2024-25). |
team_id | Int64 | ESPN team id. Non-D1 opponents have none and get no row. |
game_id | String | stats.ncaa.org contest id. The game this row's possessions are from. |
split | String | The season table's split this game is in: all (every game); home or away (neither at a neutral site); close and clutch when the game has clutch possessions. A team-season's rows of a split add up to its wbb_team_season_rates row. |
poss | Int64 | Offensive possessions in the split, counted from possession rows. |
opp_poss | Int64 | Defensive possessions in the split (the opponents' offensive possessions). |
pts | Int64 | Points scored on the team's offensive possessions in the split. |
opp_pts | Int64 | Points allowed on the team's defensive possessions in the split. |
seconds | Float64 | Game-clock seconds the team's possessions in the split used; pace over a set of games is regulation minutes x 60 x (poss + opp_poss) / 2 / summed seconds. |
Example
from sportsdataverse.wbb import wbb_team_game_possessions
wbb_team_game_possessions(2025).filter(split="all").head()
wbb_team_luck
wbb_team_luck(seasons: 'int | list[int]', *, return_as_pandas: 'bool' = False) -> 'pl.DataFrame | pd.DataFrame'
Women's college luck and close-game record: Pythagorean expected wins vs actual, close-game W-L.
Delegates to sportsdataverse.mbb.mbb_team_luck.mbb_team_luck with
league="womens".
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasons | int | list[int] | A season or list of seasons, named by the year it ends (2025 is 2024-25). | |
return_as_pandas | bool | False | Return a pandas frame instead of polars. |
Returns
One row per (season, team_id): games, wins, losses, pts, opp_pts, win_pct, pythag_win_pct, exp_wins, luck_wins, pbp_games, the close-game record and the _rank / _pct / _n columns. See the mbb core for the definitions.
| col_name | type | description |
|---|---|---|
season | Int64 | Season, named by the year it ends (2025 is 2024-25). |
team_id | Int64 | ESPN team id. Non-D1 opponents get rows of their own (a game or two) and no ranks. |
games | Int64 | Games in the season's completed ESPN games, postseason included. |
wins | Int64 | Wins in the season's completed ESPN games, postseason included. |
losses | Int64 | Losses in the season's completed ESPN games, postseason included. |
pts | Int64 | Points scored in those games (final scores). |
opp_pts | Int64 | Points allowed in those games (final scores). |
win_pct | Float64 | Win fraction: wins divided by games, from the final scores. |
pythag_win_pct | Float64 | Pythagorean win fraction: pts^x / (pts^x + opp_pts^x), x = PYTHAG_EXPONENT['wbb'], fitted on past seasons by tools/fit_team_luck_pythag.py. |
exp_wins | Float64 | Expected wins: pythag_win_pct * games. |
luck_wins | Float64 | Luck in wins: wins minus exp_wins. Positive means the team won more games than its scoring says it should have. |
pbp_games | Int64 | Games with published possessions (ncaa_wbb_possessions); close_games is counted among these. A game whose late possessions are missing from the release counts as not close. |
close_games | Int64 | Close games: at least one possession in play with 5:00 or less left (starting there, or starting before 5:00 and ending after it) in the 4th quarter (the 2nd half before 2015-16) or an overtime, the score within 5 as that possession starts (stats.nba.com's clutch window; BB-D3's close split). The margin is the running sum of the possessions' points, so it can drift from the scoreboard: NBA 2025-26 agrees with an independent ESPN play-by-play recount on 1215 of 1229 games. |
close_wins | Int64 | Wins in close games. |
close_losses | Int64 | Losses in close games. |
close_win_pct | Float64 | close_wins / close_games; null with no close game. |
pythag_win_pct_rank | Float64 | Rank of pythag_win_pct within the season (the highest value ranks 1; ties average), among teams that played at least half the most games any team played in the season; null for a non-qualifier, a null value, or fewer than five qualifiers, or when every qualifier has the same value. |
luck_wins_rank | Float64 | Rank of luck_wins within the season (the highest value ranks 1; ties average), among teams that played at least half the most games any team played in the season; null for a non-qualifier, a null value, or fewer than five qualifiers, or when every qualifier has the same value. |
close_win_pct_rank | Float64 | Rank of close_win_pct within the season (the highest value ranks 1; ties average), among teams that played at least half the most games any team played in the season, have possessions for at least half their games and played at least five close games (MIN_CLOSE_GAMES); null otherwise, for a null value, or with fewer than five qualifiers, or when every qualifier has the same value. |
pythag_win_pct_pct | Float64 | Percentile of pythag_win_pct within the season among the same qualified teams: 100 * (n + 1 - rank) / (n + 1), n the number ranked, so the best team is under 100 and nobody is 0; null when the rank is null. |
luck_wins_pct | Float64 | Percentile of luck_wins within the season among the same qualified teams: 100 * (n + 1 - rank) / (n + 1), n the number ranked, so the best team is under 100 and nobody is 0; null when the rank is null. |
close_win_pct_pct | Float64 | Percentile of close_win_pct within the season among the same qualified teams: 100 * (n + 1 - rank) / (n + 1), n the number ranked, so the best team is under 100 and nobody is 0; null when the rank is null. |
pythag_win_pct_n | Int64 | Sample size of pythag_win_pct: games. |
luck_wins_n | Int64 | Sample size of luck_wins: games. |
close_win_pct_n | Int64 | Sample size of close_win_pct: close games. |
Example
from sportsdataverse.wbb import wbb_team_luck
wbb_team_luck(2025).sort("luck_wins", descending=True).head()
wbb_team_season_flow
wbb_team_season_flow(seasons: 'int | list[int]', *, return_as_pandas: 'bool' = False) -> 'pl.DataFrame | pd.DataFrame'
Women's college game flow per team and season, with ranks, percentiles and _n.
Delegates to sportsdataverse.mbb.mbb_game_flow.mbb_team_season_flow with league="womens".
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasons | int | list[int] | A season or list of seasons, named by the year it ends (2026 is 2025-26). | |
return_as_pandas | bool | False | Return a pandas frame instead of polars. |
Returns
One row per (season, team_id) with the columns of sportsdataverse.nba.nba_game_flow.nba_team_season_flow.
| col_name | type | description |
|---|---|---|
season | Int64 | Season, named by the year it ends (the WNBA season is its calendar year). |
team_id | Int64 | ESPN team id; a non-D1 opponent has none and gets no row. |
games | Int64 | Games played (completed games of the season type). |
wins | Int64 | Games the team won among its completed games of the season type (pts > opp_pts). |
trail_pct | Float64 | Share of the team's game clock spent behind (sum trail_sec / sum game_seconds). |
tied_pct | Float64 | Share of the team's game clock spent tied. |
lead_changes_pg | Float64 | Lead changes per game. |
times_tied_pg | Float64 | Times tied per game. |
largest_lead | Int64 | The team's biggest lead of the season. |
largest_comeback | Int64 | The biggest deficit the team overcame in a win this season (0 if none). |
max_run | Int64 | The team's biggest n-0 run of the season. |
runs_10 | Int64 | The team's runs of 10 or more unanswered points, summed over the season. |
opp_runs_10 | Int64 | The opponents' runs of 10 or more unanswered points against the team, summed. |
def_poss | Int64 | Defensive possessions, summed. |
stops | Int64 | Stops (scoreless defensive possessions), summed. |
kills | Int64 | Kills (three straight stops), summed. |
double_kills | Int64 | Double kills (six straight stops), summed. |
avg_margin | Float64 | Game control: the score margin averaged over the season's game clock. |
avg_wp | Float64 | Game control: the in-game win probability averaged over the season's game clock. |
lead_pct | Float64 | Share of the team's game clock spent ahead (sum lead_sec / sum game_seconds). |
runs_10_pg | Float64 | The team's 10-0 (or better) runs per game. |
opp_runs_10_pg | Float64 | The opponents' 10-0 (or better) runs against the team per game. |
avg_longest_drought_sec | Float64 | The team's longest scoring drought, in seconds, averaged over its games. |
stop_pct | Float64 | stops / def_poss; null with no possessions. |
kills_pg | Float64 | Kills per game. |
double_kills_pg | Float64 | Double kills per game. |
kills_per_100 | Float64 | Kills per 100 defensive possessions; null with no possessions. |
avg_margin_rank | Float64 | Rank of avg_margin within the season (the highest value ranks 1; ties average), among teams with at least half the season's most games; null for a non-qualifier, a null value, or fewer than five qualifiers. |
avg_wp_rank | Float64 | Rank of avg_wp within the season (the highest value ranks 1; ties average), among teams with at least half the season's most games; null for a non-qualifier, a null value, or fewer than five qualifiers. |
lead_pct_rank | Float64 | Rank of lead_pct within the season (the highest value ranks 1; ties average), among teams with at least half the season's most games; null for a non-qualifier, a null value, or fewer than five qualifiers. |
runs_10_pg_rank | Float64 | Rank of runs_10_pg within the season (the highest value ranks 1; ties average), among teams with at least half the season's most games; null for a non-qualifier, a null value, or fewer than five qualifiers. |
opp_runs_10_pg_rank | Float64 | Rank of opp_runs_10_pg within the season (the lowest value ranks 1; ties average), among teams with at least half the season's most games; null for a non-qualifier, a null value, or fewer than five qualifiers. |
avg_longest_drought_sec_rank | Float64 | Rank of avg_longest_drought_sec within the season (the lowest value ranks 1; ties average), among teams with at least half the season's most games; null for a non-qualifier, a null value, or fewer than five qualifiers. |
stop_pct_rank | Float64 | Rank of stop_pct within the season (the highest value ranks 1; ties average), among teams with at least half the season's most games; null for a non-qualifier, a null value, or fewer than five qualifiers. |
kills_pg_rank | Float64 | Rank of kills_pg within the season (the highest value ranks 1; ties average), among teams with at least half the season's most games; null for a non-qualifier, a null value, or fewer than five qualifiers. |
double_kills_pg_rank | Float64 | Rank of double_kills_pg within the season (the highest value ranks 1; ties average), among teams with at least half the season's most games; null for a non-qualifier, a null value, or fewer than five qualifiers. |
kills_per_100_rank | Float64 | Rank of kills_per_100 within the season (the highest value ranks 1; ties average), among teams with at least half the season's most games; null for a non-qualifier, a null value, or fewer than five qualifiers. |
avg_margin_pct | Float64 | Percentile of avg_margin among the same qualified teams: 100 * (n + 1 - rank) / (n + 1), n the number ranked; null when the rank is null. |
avg_wp_pct | Float64 | Percentile of avg_wp among the same qualified teams: 100 * (n + 1 - rank) / (n + 1), n the number ranked; null when the rank is null. |
lead_pct_pct | Float64 | Percentile of lead_pct among the same qualified teams: 100 * (n + 1 - rank) / (n + 1), n the number ranked; null when the rank is null. |
runs_10_pg_pct | Float64 | Percentile of runs_10_pg among the same qualified teams: 100 * (n + 1 - rank) / (n + 1), n the number ranked; null when the rank is null. |
opp_runs_10_pg_pct | Float64 | Percentile of opp_runs_10_pg among the same qualified teams: 100 * (n + 1 - rank) / (n + 1), n the number ranked; null when the rank is null. |
avg_longest_drought_sec_pct | Float64 | Percentile of avg_longest_drought_sec among the same qualified teams: 100 * (n + 1 - rank) / (n + 1), n the number ranked; null when the rank is null. |
stop_pct_pct | Float64 | Percentile of stop_pct among the same qualified teams: 100 * (n + 1 - rank) / (n + 1), n the number ranked; null when the rank is null. |
kills_pg_pct | Float64 | Percentile of kills_pg among the same qualified teams: 100 * (n + 1 - rank) / (n + 1), n the number ranked; null when the rank is null. |
double_kills_pg_pct | Float64 | Percentile of double_kills_pg among the same qualified teams: 100 * (n + 1 - rank) / (n + 1), n the number ranked; null when the rank is null. |
kills_per_100_pct | Float64 | Percentile of kills_per_100 among the same qualified teams: 100 * (n + 1 - rank) / (n + 1), n the number ranked; null when the rank is null. |
avg_margin_n | Int64 | Sample size of avg_margin: games. |
avg_wp_n | Int64 | Sample size of avg_wp: the games with a win probability. |
lead_pct_n | Int64 | Sample size of lead_pct: games. |
runs_10_pg_n | Int64 | Sample size of runs_10_pg: games. |
opp_runs_10_pg_n | Int64 | Sample size of opp_runs_10_pg: games. |
avg_longest_drought_sec_n | Int64 | Sample size of avg_longest_drought_sec: games. |
stop_pct_n | Int64 | Sample size of stop_pct: the teams defensive possessions. |
kills_pg_n | Int64 | Sample size of kills_pg: the games with published possessions. |
double_kills_pg_n | Int64 | Sample size of double_kills_pg: the games with published possessions. |
kills_per_100_n | Int64 | Sample size of kills_per_100: the teams defensive possessions. |
kills_per75 | Float64 | Kills per 75 defensive possessions: 0.75 * kills_per_100 (BB-G8's per-75 basis); null with no possessions. |
kills_per75_rank | Float64 | Rank of kills_per75: kills_per_100_rank, copied (scaling by 0.75 keeps the order). |
kills_per75_pct | Float64 | Percentile of kills_per75: kills_per_100_pct, copied (scaling by 0.75 keeps the order). |
kills_per75_n | Int64 | Sample size of kills_per75: kills_per_100_n, copied. |
Example
from sportsdataverse.wbb import wbb_team_season_flow
wbb_team_season_flow(2026).sort("kills_pg_rank").head()