.parse() 方法
在上一个练习中,您已经知道 theater_report 工作簿包含 4 个选项卡:sales、ticket types、theaters 和 movies。让我们把每个选项卡都转换成一个 DataFrame,并查看它们。
theater_report 工作簿对象已为您加载。
本练习是课程的一部分
面向表格用户的 Python
交互式实操练习
通过完成这段示例代码来试试这个练习。
# Parse the sales tab of the theater report
sales = theater_report.____(____)
print(sales.head())