Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kperry2215/aa65554965ff7bf88e7703c90d2dfcad to your computer and use it in GitHub Desktop.
Save kperry2215/aa65554965ff7bf88e7703c90d2dfcad to your computer and use it in GitHub Desktop.
#Create a histogram of counts by hour
ax=peak_demand_hour_df['Peak_Demand_Hour'].value_counts().plot(kind='bar',
title='Peak Demand Hour by Number of Occurrences')
ax.set_xlabel("Demand Hour (0-23 hour)")
ax.set_ylabel("Number of Occurrences")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment