Add a new column called bonus to the employee DataFrame. The bonus should be 10% of each employee's salary.
DataFrame df with columns: name, department, salary, age, city
bonus = salary * 0.10resultReady to take your skills to the next level? Enroll in our comprehensive Data Analyst Career Track to master SQL, Python, Excel, and Power BI.
Run your code to see the result here.