Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lectures/fitting_distributions.md
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ with long quiet periods in between.
We can see this directly by counting events per month.

```{code-cell} ipython3
monthly = times.dt.to_period('M').value_counts().sort_index()
monthly = times.dt.tz_localize(None).dt.to_period('M').value_counts().sort_index()
monthly.mean(), monthly.var()
```

Expand Down
2 changes: 1 addition & 1 deletion lectures/inflation_history.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ for i in range(4):
for ind, row in zip(indices, rows)]

sheet_list = [process_df(df) for df in sheet_list]
df_list.append(pd.concat(sheet_list, axis=1))
df_list.append(pd.concat(sheet_list, axis=1, sort=True))

df_aus, df_hun, df_pol, df_deu = df_list
```
Expand Down
Loading