Skip to content

2884. Modify Columns 👍

1
2
3
4
5
6
import pandas as pd


def modifySalaryColumn(employees: pd.DataFrame) -> pd.DataFrame:
  employees['salary'] = employees['salary'] * 2
  return employees