Learn how to add a new column to a DataFrame by performing a calculation on an existing column.
Add a new column named Taxed Purchase to the DataFrame.
Calculate the 5% tax on the Purchase Amount (USD) column and store the result in the new column.
Print the first 10 rows to verify the new column.
Python Code:
df['Taxed Purchase'] = df['Purchase Amount (USD)'] * 1.05
df.head(10)