Skip to content

Commit 9fecd25

Browse files
committed
Update Chapter_3_EDA_with_Personal_Email_Analysis.ipynb
1 parent 1393f61 commit 9fecd25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Chapter 3/Chapter_3_EDA_with_Personal_Email_Analysis.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,13 +1236,13 @@
12361236
" df_r = received[received['dayofweek']==dow]\n",
12371237
" weights = np.ones(len(df_r)) / len(received)\n",
12381238
" wfun = lambda x: weights\n",
1239-
" plot_count_vs_tod(df_r, ax, dt=1, smooth=True, color=f'C{ct}',\n",
1239+
" plot_number_perdhour_per_year(df_r, ax, dt=1, smooth=True, color=f'C{ct}',\n",
12401240
" alpha=0.8, lw=3, label=dow, weight_fun=wfun)\n",
12411241
"\n",
12421242
" df_s = sent[sent['dayofweek']==dow]\n",
12431243
" weights = np.ones(len(df_s)) / len(sent)\n",
12441244
" wfun = lambda x: weights\n",
1245-
" plot_count_vs_tod(df_s, ax, dt=1, smooth=True, color=f'C{ct}',\n",
1245+
" plot_number_perdhour_per_year(df_s, ax, dt=1, smooth=True, color=f'C{ct}',\n",
12461246
" alpha=0.8, lw=2, label=dow, ls='--', weight_fun=wfun)\n",
12471247
"ax.set_ylabel('Fraction of weekly emails per hour')\n",
12481248
"plt.legend(loc='upper left')\n"
@@ -1331,4 +1331,4 @@
13311331
]
13321332
}
13331333
]
1334-
}
1334+
}

0 commit comments

Comments
 (0)