【发布时间】:2016-10-04 04:00:11
【问题描述】:
我发现的大部分信息都不在 python>pandas>dataframe 中,因此是这个问题。
我想将 1 到 12 之间的整数转换为缩写的月份名称。
我有一个看起来像这样的 df:
client Month
1 sss 02
2 yyy 12
3 www 06
我希望 df 看起来像这样:
client Month
1 sss Feb
2 yyy Dec
3 www Jun
【问题讨论】:
标签: python date pandas dataframe monthcalendar