Nikola Jokić Triple-Double tracker: 2023-2024 season

basketball
Published

October 27, 2023

Note

Unfortunately, I can’t have the data truly update on a schedule (every day). Essentially I am a bot using nba_api when executing the call via Github. Rather than setting up a Proxy server, I’ve set up a local database file that I will regularly update. This page should then automatically render once the database has been updated.

My apologies for it not being super automatic. I wish it were. 😔

Jokić had an insane season in 2022. Despite that, he didn’t win the league MVP. Looking at the number of triple doubles that he had in 2022 relative to 2020 and 2021 – the two years he did win the league MVP, it was clear that he was on another level. For much of the 2022 season, his AVERAGE Points Per Game, Assists Per Game, and Rebounds Per Game was a triple double.

With the new NBA season starting up and Jokić looking to defend the Denver Nuggets’ title, I want to follow along throughout the season to see how that triple-double machine does this season.

To do this, I access the nba_api library in Python. I have a script that runs daily to update the dataset and the corresponding plot below so that I can check to see whether the Nuggets played that day and whether Jokić had a triple-double in that game.

More specifically, this blog post is part of a Quarto blog that I have publish through a Github action and updates through Netlify. Each day, I have a Github action re-run this document.

Let’s see how Jokić is doing

/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/plotly/express/_core.py:2065: FutureWarning:

When grouping with a length-1 list-like, you will need to pass a length-1 tuple to get_group in a future version of pandas. Pass `(name,)` instead of `name` to silence this warning.
Figure 1: Triple Double