Python DataFrameで 指定列のデータ末尾1文字を削除する

# Code列の各文字列の末尾1文字を削除する
df['Code'] = df['Code'].str[:-1]