take absolute value of dataframe python code example Example: absolute value columns pandas df['Column_name'] = df['Column_name'].abs()