Skip to content

Instantly share code, notes, and snippets.

@lmeulen
Created August 22, 2022 05:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lmeulen/38cd7dde88b271b13d114b86f1d4464a to your computer and use it in GitHub Desktop.
Save lmeulen/38cd7dde88b271b13d114b86f1d4464a to your computer and use it in GitHub Desktop.
ergast_wdc_standing_over_season
year=2022
standings = stats.get_wdc_standing(year)
stats.horizontal_driver_lines_plot(df=standings, xcolumn='round', ycolumn='position',
invert_yaxis=True,
title='Championships standings ({})'.format(year),
xlabel='Round', ylabel='Position')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment