시작하기무료로 시작하기

.parse() 메서드

이전 연습 문제에서 theater_report 워크북에는 sales, ticket types, theaters, movies의 4개 탭이 있다는 것을 확인했어요. 이제 각 탭을 DataFrame으로 변환해서 살펴봅시다.

theater_report 워크북 객체는 이미 로드되어 있어요.

이 연습은 강의의 일부입니다

스프레드시트 사용자를 위한 Python

강의 보기

실습형 인터랙티브 연습

이 예제를 이 샘플 코드를 완성하여 풀어보세요.

# Parse the sales tab of the theater report
sales = theater_report.____(____)

print(sales.head())
코드 편집 및 실행