python pandas apply to one column

115

python pandas apply to one column -

df['a'] = df['a'].apply(lambda x: x + 1)

Comments

Submit
0 Comments