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


'언어 꿀Tip > Python 꿀tip!' 카테고리의 다른 글
| 07_01_77. 그룹별 describe() 구하기 : groupby describe() (0) | 2021.09.24 |
|---|---|
| 07_01_74. dataframe difference of dates (0) | 2021.08.27 |
| 07_02_02. [codility] CyclicRotation python (0) | 2021.08.23 |
| 07_02_01. [codility] OddOccurrencesInArray collection 모듈 Counter 이용 (0) | 2021.08.23 |
| 07_01_71. sql로 데이터프레임(dataframe) 다루기, pysqldf (0) | 2021.08.17 |