Created
August 20, 2022 11:09
-
-
Save lmeulen/850d87718512b851602fc42e2d4b26fe to your computer and use it in GitHub Desktop.
ergast_constructor_most_wins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wins = winners[['constructor', 'race']].groupby('constructor').count().reset_index() | |
stats.horizontal_barplot(df=wins, rowcount=10, sort_value='race', | |
sort_ascending=False, invert_yaxis=True, | |
xcolumn='constructor', ycolumn='race', | |
title='Wins per constructor', | |
xlabel='wins', ylabel='') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment