고정된 빈도를 갖는 데이터는 종종 여러 컬럼에 걸쳐 기간에 대한 정보를 함께 저장하기도 한다.
예를 들어 다음 거시경제학(매크로경제학
macroeconomic
) 데이터셋에는 연도와 분기가 구분된 컬
럼에 존재한다.
In
[
200
]:
data
=
pd
.
read
_
csv
('
examples
/
macrodata
.
csv
')
In
[
201
]:
data
.
head
(
5
)
Out
[
201
]:
year quarter realgdp realcons ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.