absolute value columns pandas

df['Column_name'] = df['Column_name'].abs()

Here is what the above code is Doing:
1. We’re creating a new column called ‘Column_name’ and setting it equal to the absolute value of the ‘Column_name’ column.
2. We’re setting the data type of the new column to be the same as the original column.
3. We’re setting the index of the new column to be the same as the original column.
4. We’re setting the name of the new column to be the same as the original column.