pandas.date_range - 주기적인 날짜 데이터 생성하기
날짜 데이터의 간격이 규칙적이지 않은 경우를 다룰 때, 원하는 주기의 날짜 데이터를 생성하기 위해 pandas의 date_range 함수(메서드)를 활용할 수 있다. 이번 글에서는 date_range의 인자와 주기 설정에 따른 결과 차이에 대해 정리해보았다. 1. pandas.date_range() Return a fixed frequency datetimeIndex pandas.date_range( start=None, end=None, periods=None, freq=None, tz=None, normalize=False, name=None, closed=None, ) start / end: 날짜를 생성하기 위한 시작과 끝 값 (string or datetime 형식) periods: 생성하려는 날..
2022.07.05