Skip to content

Commit f6e4d3f

Browse files
committed
remove FutureWarnings in pandas_panel
1 parent 7a64735 commit f6e4d3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lectures/pandas_panel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ the row index (`.unstack()` works in the opposite direction - try it
150150
out)
151151

152152
```{code-cell} ipython3
153-
realwage.stack().head()
153+
realwage.stack(future_stack=True).head()
154154
```
155155

156156
We can also pass in an argument to select the level we would like to
@@ -432,7 +432,7 @@ plt.show()
432432
summary statistics
433433

434434
```{code-cell} ipython3
435-
merged.stack().describe()
435+
merged.stack(future_stack=True).describe()
436436
```
437437

438438
This is a simplified way to use `groupby`.

0 commit comments

Comments
 (0)