2884. Modify Columns

Обновлено: 2024-03-12
1 мин
[]

Содержание

LeetCode problem 2884

import pandas as pd


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