Skip to main content
Version: 0.2.0

πŸ€πŸŒ International basketball with sportsdataverse-py

This page is the executed notebook 16_international_basketball_intro.ipynb: download it to run it yourself.

The NBA is one league; the rest of the basketball world is dozens. sportsdataverse-py wraps the feeds behind the biggest of them, and this notebook tours four:

LeagueModuleProvider
EuroLeaguesportsdataverse.basketball.euroleagueEuroLeague Competition Engine
Super League Basketball (UK)sportsdataverse.basketball.geniusGenius Sports LiveStats
NBL (Australia)sportsdataverse.basketball.nbl_auNBL Rosetta
Liga Endesa (Spain)sportsdataverse.basketball.acbACB

No API keys, polars by default (return_as_pandas=True for pandas), and at the end a EuroLeague shot chart drawn on a FIBA court with sdvplot. 🎯

🧰 The toolbox​

FunctionWhat it gives you
euroleague_seasonsSeasons of a competition (E = EuroLeague, U = EuroCup)
euroleague_gamesEvery game of a season, played or not
euroleague_standingsStandings after a round
euroleague_game_pointsShot chart of one game (coord_x / coord_y in cm)
slb_competitionsSLB competitions with their END-year season
slb_scheduleEvery match of an SLB season
slb_player_boxPlayer box score of a finished SLB game
slb_shotsShot chart of a finished SLB game
nbl_rosetta_standingsNBL regular-season ladder
nbl_rosetta_matchesMatches of an NBL season
acb_standingsLiga Endesa table after a round
acb_calendarEvery round of a season with its games

Genius LiveStats serves many leagues (wbbl_*, bal_*, nznbl_*, esake_*, lfb_*, ...) with the same shape, so the SLB recipes below work for every one of them.

πŸ”Œ Setup​

pip install "sportsdataverse[sdvplot,sportypy]"

The sdvplot extra brings in sdvplot and matplotlib; the sportypy extra (GPL-3.0, kept separate on purpose) draws the court.

import matplotlib.pyplot as plt
import polars as pl

from sportsdataverse.basketball import euroleague as el
from sportsdataverse.basketball import acb, genius, nbl_au

pl.Config.set_tbl_rows(10)
polars.config.Config

Provider feeds are seasonal and occasionally rate-limited, so a tiny safe() helper runs each call defensively: you get the frame when the feed is up, and a one-line skip when it isn't, naming whether the answer was nothing there (NoDataError) or the fetch failed (AssetFetchError). πŸ›Ÿ

from sportsdataverse.errors import AssetFetchError, NoDataError

def safe(label, thunk):
try:
out = thunk()
print(f"βœ… {label}")
return out
except (NoDataError, AssetFetchError) as e:
print(f"\u23ed\ufe0f {label}: {type(e).__name__}: {e}")
return None

πŸ‡ͺπŸ‡Ί EuroLeague​

Season codes are the competition letter plus the START year (E2025 is 2025-26). We take the newest season that has a played game, so the notebook works in the off-season too.

seasons = safe("EuroLeague seasons", lambda: el.euroleague_seasons("E"))
season_code, games = None, None
if seasons is not None:
for code in seasons.sort("year", descending=True)["code"].head(3):
g = safe(f"games {code}", lambda code=code: el.euroleague_games("E", code))
if g is not None and g.filter(pl.col("played") == True).height:
season_code, games = code, g
break
print("season:", season_code, "| games:", None if games is None else games.shape)
βœ… EuroLeague seasons


βœ… games E2026
season: E2026 | games: (380, 94)
played = games.filter(pl.col("played") == True).sort("utc_date") if games is not None else None
cols = ["game_code", "round", "utc_date", "local_club_name", "road_club_name"]
(played.select([c for c in cols if c in played.columns]).tail(5)
if played is not None and played.height else "no played games")
shape: (5, 5)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ game_code ┆ round ┆ utc_date ┆ local_club_name ┆ road_club_name β”‚
β”‚ --- ┆ --- ┆ --- ┆ --- ┆ --- β”‚
β”‚ str ┆ i64 ┆ str ┆ str ┆ str β”‚
β•žβ•β•β•β•β•β•β•β•β•β•β•β•ͺ═══════β•ͺ══════════════════════β•ͺ════════════════════β•ͺ═══════════════════════════════║
β”‚ 133 ┆ 14 ┆ 2026-11-24T20:00:00Z ┆ FC Barcelona ┆ Fenerbahce Tarfin Istanbul β”‚
β”‚ 137 ┆ 14 ┆ 2026-11-25T16:00:00Z ┆ Dubai Basketball ┆ Partizan Mozzart Bet Belgrade β”‚
β”‚ 140 ┆ 14 ┆ 2026-11-25T19:15:00Z ┆ Olympiacos Piraeus ┆ Hapoel IBI Tel Aviv β”‚
β”‚ 138 ┆ 14 ┆ 2026-11-25T19:30:00Z ┆ Kosner Baskonia ┆ Anadolu Efes Istanbul β”‚
β”‚ ┆ ┆ ┆ Vitoria-Gastei… ┆ β”‚
β”‚ 139 ┆ 14 ┆ 2026-11-25T19:45:00Z ┆ Real Madrid ┆ Zalgiris Kaunas β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Standings after the latest round πŸ†β€‹

euroleague_standings takes the round as a string.

last_round = str(played["round"].max()) if played is not None and played.height else None
stand = safe(f"standings round {last_round}",
lambda: el.euroleague_standings("E", season_code, last_round)) if last_round else None
cols = ["position", "club_name", "games_played", "games_won", "games_lost", "points_difference"]
(stand.select([c for c in cols if c in stand.columns]).head(10)
if stand is not None and stand.height else "standings unavailable")
βœ… standings round 14





shape: (10, 6)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ position ┆ club_name ┆ games_played ┆ games_won ┆ games_lost ┆ points_difference β”‚
β”‚ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- β”‚
β”‚ i64 ┆ str ┆ i64 ┆ i64 ┆ i64 ┆ str β”‚
β•žβ•β•β•β•β•β•β•β•β•β•β•ͺ═══════════════════════════β•ͺ══════════════β•ͺ═══════════β•ͺ════════════β•ͺ═══════════════════║
β”‚ 1 ┆ Olympiacos Piraeus ┆ 14 ┆ 11 ┆ 3 ┆ +116 β”‚
β”‚ 2 ┆ Valencia Basket ┆ 14 ┆ 10 ┆ 4 ┆ +101 β”‚
β”‚ 3 ┆ Panathinaikos AKTOR ┆ 14 ┆ 10 ┆ 4 ┆ +97 β”‚
β”‚ ┆ Athens ┆ ┆ ┆ ┆ β”‚
β”‚ 4 ┆ Fenerbahce Tarfin ┆ 14 ┆ 9 ┆ 5 ┆ +81 β”‚
β”‚ ┆ Istanbul ┆ ┆ ┆ ┆ β”‚
β”‚ 5 ┆ Dubai Basketball ┆ 14 ┆ 9 ┆ 5 ┆ +8 β”‚
β”‚ 6 ┆ Real Madrid ┆ 14 ┆ 8 ┆ 6 ┆ +90 β”‚
β”‚ 7 ┆ Crvena Zvezda Meridianbet ┆ 14 ┆ 8 ┆ 6 ┆ +26 β”‚
β”‚ ┆ Belg… ┆ ┆ ┆ ┆ β”‚
β”‚ 8 ┆ FC Barcelona ┆ 14 ┆ 8 ┆ 6 ┆ +21 β”‚
β”‚ 9 ┆ Partizan Mozzart Bet ┆ 14 ┆ 8 ┆ 6 ┆ +17 β”‚
β”‚ ┆ Belgrade ┆ ┆ ┆ ┆ β”‚
β”‚ 10 ┆ Zalgiris Kaunas ┆ 14 ┆ 8 ┆ 6 ┆ +6 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

A shot chart on a FIBA court πŸŽ―β€‹

euroleague_game_points returns one row per field-goal attempt and made free throw, in centimeters with the hoop at the origin. sdvplot.court_coords(..., provider="euroleague") converts that frame to meters on the FIBA court that sdvplot.surface("fiba") draws (free throws, encoded -1, -1, become null). Both teams shoot at one basket, so we draw the defensive half.

import sdvplot

gcode = str(played["game_code"][-1]) if played is not None and played.height else None
pts = safe(f"shots game {gcode}", lambda: el.euroleague_game_points(gcode, season_code)) if gcode else None
if pts is not None and pts.height:
shots = sdvplot.court_coords(pts, x="coord_x", y="coord_y", provider="euroleague")
shots = shots.filter(pl.col("court_x").is_not_null())
made = shots.filter(pl.col("id_action").is_in(["2FGM", "3FGM"]))
missed = shots.filter(pl.col("id_action").is_in(["2FGA", "3FGA"]))
ax = sdvplot.surface("fiba", display_range="defense")
ax.scatter(missed["court_x"], missed["court_y"], marker="x", s=30, c="#888888", zorder=20, label="missed")
ax.scatter(made["court_x"], made["court_y"], s=30, c="#d62728", zorder=21, label="made")
ax.legend(loc="upper right")
ax.set_title(f"EuroLeague {season_code} game {gcode}: {shots.height} field-goal attempts")
plt.show()
else:
print("no shot data for this game")
βœ… shots game 139

png

πŸ‡¬πŸ‡§ Super League Basketball (Genius Sports)​

slb_competitions lists the SLB competitions Genius hosts; slb_schedule defaults to the current one.

comps = safe("SLB competitions", genius.slb_competitions)
comps.select([c for c in ["comp_id", "label", "season"] if c in comps.columns]).head() if comps is not None else None
βœ… SLB competitions





shape: (5, 3)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ comp_id ┆ label ┆ season β”‚
β”‚ --- ┆ --- ┆ --- β”‚
β”‚ i64 ┆ str ┆ i64 β”‚
β•žβ•β•β•β•β•β•β•β•β•β•ͺ══════════════════════β•ͺ════════║
β”‚ 49597 ┆ Championship 26-27 ┆ 2027 β”‚
β”‚ 39625 ┆ Championship 2024-25 ┆ 2025 β”‚
β”‚ 41897 ┆ Championship 2025-26 ┆ 2026 β”‚
β”‚ 49599 ┆ Cup 26-27 ┆ 2027 β”‚
β”‚ 39732 ┆ Cup 2024-25 ┆ 2025 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”˜
sched = safe("SLB schedule", genius.slb_schedule)
done = sched.filter(pl.col("status") == "COMPLETE") if sched is not None else None
cols = ["match_id", "date_time", "home_team_name", "home_score", "away_team_name", "away_score"]
(done.select([c for c in cols if c in done.columns]).tail(5)
if done is not None and done.height else "no completed SLB games yet")
βœ… SLB schedule





shape: (5, 6)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ match_id ┆ date_time ┆ home_team_name ┆ home_score ┆ away_team_name ┆ away_score β”‚
β”‚ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- β”‚
β”‚ i64 ┆ str ┆ str ┆ i64 ┆ str ┆ i64 β”‚
β•žβ•β•β•β•β•β•β•β•β•β•β•ͺ═══════════════β•ͺ══════════════════════β•ͺ════════════β•ͺ══════════════════════β•ͺ════════════║
β”‚ 2882484 ┆ Nov 20, 2026, ┆ Bristol Flyers ┆ 83 ┆ Cheshire Phoenix ┆ 100 β”‚
β”‚ ┆ 7:30 PM ┆ ┆ ┆ ┆ β”‚
β”‚ 2882485 ┆ Nov 20, 2026, ┆ Newcastle Eagles ┆ 82 ┆ Leicester Riders ┆ 74 β”‚
β”‚ ┆ 7:30 PM ┆ ┆ ┆ ┆ β”‚
β”‚ 2882486 ┆ Nov 22, 2026, ┆ Manchester ┆ 81 ┆ London Lions ┆ 96 β”‚
β”‚ ┆ 4:00 PM ┆ Basketball ┆ ┆ ┆ β”‚
β”‚ 2882487 ┆ Nov 22, 2026, ┆ Liverpool Basketball ┆ 86 ┆ Leicester Riders ┆ 77 β”‚
β”‚ ┆ 4:00 PM ┆ ┆ ┆ ┆ β”‚
β”‚ 2882488 ┆ Nov 22, 2026, ┆ Cheshire Phoenix ┆ 108 ┆ Caledonia Gladiators ┆ 92 β”‚
β”‚ ┆ 5:30 PM ┆ ┆ ┆ ┆ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

One game: box score and shots πŸ“‹β€‹

Take the latest completed match_id, then the player box score (slb_player_box) and the shot chart (slb_shots, x/y as a percent of the full court).

mid = int(done["match_id"][-1]) if done is not None and done.height else None
box = safe(f"SLB box {mid}", lambda: genius.slb_player_box(mid)) if mid else None
cols = ["name", "minutes", "points", "rebounds_total", "assists", "field_goals_made", "field_goals_attempted"]
(box.select([c for c in cols if c in box.columns]).sort("points", descending=True).head(8)
if box is not None and box.height and "points" in box.columns else "box score unavailable")
βœ… SLB box 2882488





shape: (8, 7)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ name ┆ minutes ┆ points ┆ rebounds_total ┆ assists ┆ field_goals_made ┆ field_goals_attem β”‚
β”‚ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ pted β”‚
β”‚ str ┆ str ┆ i64 ┆ i64 ┆ i64 ┆ i64 ┆ --- β”‚
β”‚ ┆ ┆ ┆ ┆ ┆ ┆ i64 β”‚
β•žβ•β•β•β•β•β•β•β•β•β•β•β•β•β•ͺ═════════β•ͺ════════β•ͺ════════════════β•ͺ═════════β•ͺ══════════════════β•ͺ═══════════════════║
β”‚ S. White ┆ 26:09 ┆ 37 ┆ 13 ┆ 2 ┆ 12 ┆ 22 β”‚
β”‚ I. Small ┆ 35:35 ┆ 24 ┆ 11 ┆ 2 ┆ 11 ┆ 17 β”‚
β”‚ A. Dawes ┆ 31:33 ┆ 23 ┆ 3 ┆ 4 ┆ 8 ┆ 14 β”‚
β”‚ I. Gray ┆ 23:36 ┆ 19 ┆ 3 ┆ 4 ┆ 9 ┆ 11 β”‚
β”‚ N. Williams ┆ 22:37 ┆ 15 ┆ 1 ┆ 3 ┆ 5 ┆ 10 β”‚
β”‚ C. Keeling ┆ 32:55 ┆ 15 ┆ 7 ┆ 2 ┆ 6 ┆ 16 β”‚
β”‚ Z. Gattorna ┆ 25:23 ┆ 13 ┆ 10 ┆ 1 ┆ 4 ┆ 10 β”‚
β”‚ R. Cisarik ┆ 31:40 ┆ 12 ┆ 5 ┆ 1 ┆ 4 ┆ 8 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
sh = safe(f"SLB shots {mid}", lambda: genius.slb_shots(mid)) if mid else None
(sh.group_by("action_type", "result").len().sort("action_type")
if sh is not None and sh.height else "no shots for this game")
βœ… SLB shots 2882488





shape: (4, 3)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”
β”‚ action_type ┆ result ┆ len β”‚
β”‚ --- ┆ --- ┆ --- β”‚
β”‚ str ┆ i64 ┆ u32 β”‚
β•žβ•β•β•β•β•β•β•β•β•β•β•β•β•β•ͺ════════β•ͺ═════║
β”‚ 2pt ┆ 1 ┆ 51 β”‚
β”‚ 2pt ┆ 0 ┆ 44 β”‚
β”‚ 3pt ┆ 0 ┆ 38 β”‚
β”‚ 3pt ┆ 1 ┆ 23 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”˜

πŸ‡¦πŸ‡Ί NBL (Australia)​

The NBL's Rosetta API takes the season as its END year. nbl_rosetta_standings gives the ladder; nbl_rosetta_matches the match list.

nbl_season = 2026
ladder = safe(f"NBL ladder {nbl_season}", lambda: nbl_au.nbl_rosetta_standings(nbl_season))
cols = ["position", "team_name", "won", "lost", "win_percentage", "points_for", "points_against", "streak"]
(ladder.select([c for c in cols if c in ladder.columns]).sort("position")
if ladder is not None and ladder.height else "ladder unavailable")
βœ… NBL ladder 2026





shape: (10, 8)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ position ┆ team_name ┆ won ┆ lost ┆ win_percentage ┆ points_for ┆ points_against ┆ streak β”‚
β”‚ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- β”‚
β”‚ i64 ┆ str ┆ i64 ┆ i64 ┆ f64 ┆ i64 ┆ i64 ┆ i64 β”‚
β•žβ•β•β•β•β•β•β•β•β•β•β•ͺ══════════════════β•ͺ═════β•ͺ══════β•ͺ════════════════β•ͺ════════════β•ͺ════════════════β•ͺ════════║
β”‚ 1 ┆ Sydney Kings ┆ 24 ┆ 9 ┆ 0.7273 ┆ 3276 ┆ 2879 ┆ 11 β”‚
β”‚ 2 ┆ Adelaide 36ers ┆ 23 ┆ 10 ┆ 0.697 ┆ 3042 ┆ 2890 ┆ 0 β”‚
β”‚ 3 ┆ South East ┆ 22 ┆ 11 ┆ 0.6667 ┆ 3324 ┆ 3061 ┆ 0 β”‚
β”‚ ┆ Melbourne ┆ ┆ ┆ ┆ ┆ ┆ β”‚
β”‚ ┆ Phoenix ┆ ┆ ┆ ┆ ┆ ┆ β”‚
β”‚ 4 ┆ Perth Wildcats ┆ 21 ┆ 12 ┆ 0.6364 ┆ 2996 ┆ 2840 ┆ 1 β”‚
β”‚ 5 ┆ Melbourne United ┆ 20 ┆ 13 ┆ 0.6061 ┆ 3041 ┆ 2905 ┆ 1 β”‚
β”‚ 6 ┆ Tasmania ┆ 14 ┆ 19 ┆ 0.4242 ┆ 2873 ┆ 2884 ┆ 0 β”‚
β”‚ ┆ JackJumpers ┆ ┆ ┆ ┆ ┆ ┆ β”‚
β”‚ 7 ┆ NZ Breakers ┆ 13 ┆ 20 ┆ 0.3939 ┆ 3022 ┆ 3058 ┆ 1 β”‚
β”‚ 8 ┆ Illawarra Hawks ┆ 13 ┆ 20 ┆ 0.3939 ┆ 3074 ┆ 3205 ┆ 2 β”‚
β”‚ 9 ┆ Cairns Taipans ┆ 9 ┆ 24 ┆ 0.2727 ┆ 2754 ┆ 3194 ┆ 0 β”‚
β”‚ 10 ┆ Brisbane Bullets ┆ 6 ┆ 27 ┆ 0.1818 ┆ 2710 ┆ 3196 ┆ 0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”˜
matches = safe(f"NBL matches {nbl_season}", lambda: nbl_au.nbl_rosetta_matches(nbl_season))
(matches.group_by("match_status").len() if matches is not None and "match_status" in matches.columns
else "matches unavailable")
βœ… NBL matches 2026





shape: (2, 2)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”
β”‚ match_status ┆ len β”‚
β”‚ --- ┆ --- β”‚
β”‚ str ┆ u32 β”‚
β•žβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•ͺ═════║
β”‚ complete ┆ 206 β”‚
β”‚ draft ┆ 3 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”˜

πŸ‡ͺπŸ‡Έ Liga Endesa (ACB)​

acb_standings defaults to the table after the current round; acb_calendar lists every round of the season in one call. A bar chart of the table makes the early-season race easy to read.

table = safe("ACB standings", acb.acb_standings)
if table is not None and table.height:
t = table.sort("win_pct", "plus_minus")
fig, ax = plt.subplots(figsize=(7, 6))
ax.barh(t["team"], t["win_pct"], color="#1f4e79")
ax.set_xlabel("win %")
end = int(t["season"][0]) # END year
ax.set_title(f"Liga Endesa {end - 1}-{str(end)[2:]} standings")
plt.tight_layout()
plt.show()
else:
print("ACB standings unavailable")
βœ… ACB standings

png

cal = safe("ACB calendar", acb.acb_calendar)
(cal.group_by("round_number").agg(games=pl.len(), played=pl.col("home_score").is_not_null().sum())
.sort("round_number").head(8) if cal is not None and cal.height else "calendar unavailable")
βœ… ACB calendar





shape: (8, 3)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ round_number ┆ games ┆ played β”‚
β”‚ --- ┆ --- ┆ --- β”‚
β”‚ i64 ┆ u32 ┆ u32 β”‚
β•žβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•ͺ═══════β•ͺ════════║
β”‚ 1 ┆ 9 ┆ 9 β”‚
β”‚ 2 ┆ 9 ┆ 9 β”‚
β”‚ 3 ┆ 9 ┆ 9 β”‚
β”‚ 4 ┆ 9 ┆ 9 β”‚
β”‚ 5 ┆ 9 ┆ 9 β”‚
β”‚ 6 ┆ 9 ┆ 9 β”‚
β”‚ 7 ┆ 9 ┆ 9 β”‚
β”‚ 8 ┆ 9 ┆ 9 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸŽ‰ Where to next​

  • Every Genius league (wbbl_, bal_, nznbl_, esake_, lfb_, lnbm_, lub_) has the same _schedule / _player_box / _pbp / _shots set as SLB.
  • More homes under sportsdataverse.basketball: fiba_hub, atrium, feb, scb, lba, vtb, kbl, bleague, cebl, aba and others; each has a reference page in the sidebar.
  • Shot charts: sdvplot's court_coords also converts NBA and WNBA stats-API shots (provider="nba").
  • NBA, WNBA and college basketball have their own notebooks (04, 08, 06, 05).