Last active
December 21, 2019 23:04
-
-
Save ssrosa/8c5a68a1bb9b56c0d448e2065fe341e1 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
| #Divide each column by its number of stories to get the mean | |
| hourly_means = pd.DataFrame({col: hourly_mi[col] / hourly_mi['count'] for col in hourly_mi.columns}).fillna(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment