Last active
July 12, 2022 19:07
-
-
Save petehughes/bb37301438a751136776a704e7e71455 to your computer and use it in GitHub Desktop.
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
# assume that | |
# pip install matplotlib seaborn | |
p= %cypher match (t:Transfer) where t.numericFee is not null and t.numericFee > 0 return t.numericFee as numericFee, t.season as season | |
# create anew year value based on the start year of the season | |
p['year'] = p['season'].str[:4] | |
p['numericFee'] = p['numericFee'].divide(1000000) | |
gb = p.groupby("season").sum() | |
gb.plot.bar() | |
gb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment