본문 바로가기

언어 꿀Tip/Python 꿀tip!

07_01_76. period_range 날짜생성 후 년월 string 변환

pd.period_range('20180101', '20210801', freq='M').astype(str).str.replace("-","")