Skip to content

Instantly share code, notes, and snippets.

@amankharwal

amankharwal/uber.py Secret

Created Apr 21, 2021
Embed
What would you like to do?
# Correlation of Weekday and Hour
df = data.groupby(["Weekday", "Hour"]).apply(lambda x: len(x))
df = df.unstack()
sns.heatmap(df, annot=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment