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