Add a Column to a Pandas Dataframe
Adding a column to a pandas dataframe allows you to create new and useful calculations from existing data in your dataframe.
The code you probably want
Adding a new column to the end of the dataframe and setting it equal to a transformation of existing columns.
import pandas as pd