human
Pandas: how to change all the values of a column?
assistant
Here is some code to pandas: change all the values of a column 'Date' into "int(str(x)[-4:])"

df['Date'] = df['Date'].apply(lambda x: int(str(x)[-4:]))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.