Created
April 10, 2019 15:35
-
-
Save dipanjanS/de0b76e99d739589636dd01777ea947c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
hourly_avg_errors_sorted_df = (not_found_df | |
.groupBy(F.hour('time') | |
.alias('hour')) | |
.count() | |
.sort('hour')) | |
hourly_avg_errors_sorted_pd_df = hourly_avg_errors_sorted_df.toPandas() | |
c = sns.catplot(x='hour', y='count', | |
data=hourly_avg_errors_sorted_pd_df, | |
kind='bar', height=5, aspect=1.5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment