FKUN 【Python】 生成时间范围内的所有月份 import pandas as pd pd.date_range('1980-01-01','2100-01-01',freq='MS').strftime("%Y-%M").tolist()