Restar de la columna DataFrame
#To subtract 1 from a specific column of a dataframe
df.column_name.sub(1)
M.U
#To subtract 1 from a specific column of a dataframe
df.column_name.sub(1)
#To subtract 1 from all columns of dataframe
df.sub(1)