Perhitungan PD antara kolom

# example multiplying column 'Price' by 'Sales':
df['Pofit'] = df['Price'] * df['Sales']
# this will create a new column in the Pandas DataFrame 'df' called 'Profit'
# dot notation can also be used, but only to the right of the assignment (by columns already in the DataFrame)
Tired Turtler