📅  最后修改于: 2022-03-11 14:45:39.537000             🧑  作者: Mango
>>> df = pd.DataFrame({'col':['a',0]})
>>> df
col
0 a
1 0
>>> df['col'] = 'str' + df['col'].astype(str)
>>> df
col
0 stra
1 str0