Skip to content
This repository was archived by the owner on Apr 24, 2020. It is now read-only.

Commit f10d236

Browse files
committed
change sheetname to sheet_name because it's deprecated
1 parent bf02110 commit f10d236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rst_files/_static/code/pandas/wb_download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
output.write(r.content)
1010

1111
# == Parse data into a DataFrame == #
12-
govt_debt = pd.read_excel('gd.xls', sheetname='Data', skiprows=3, index_col=1)
12+
govt_debt = pd.read_excel('gd.xls', sheet_name='Data', skiprows=3, index_col=1)
1313

1414
# == Take desired values and plot == #
1515
govt_debt = govt_debt.transpose()

0 commit comments

Comments
 (0)