🌈 搜索
📅  最后修改于: 2022-03-11 14:47:16.703000             🧑  作者: Mango
df['month_year'] = df['date_column'].dt.to_period('M')