Created
May 25, 2022 11:28
-
-
Save tomasonjo/2ab3b01df049a235dd2f239ae5ad8afa 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
import matplotlib.pyplot as plt | |
plt.rcParams['figure.figsize'] = [10, 6] | |
import seaborn as sns | |
time = gds.run_cypher(""" | |
MATCH p=()-[r:P2P]->() | |
RETURN r.transactionDateTime.year AS year, count(*) AS countOfTransactions | |
ORDER BY year | |
""") | |
sns.barplot(x="year", y="countOfTransactions", data=time) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment