2887. Fill Missing Data

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

Содержание

LeetCode problem 2887

import pandas as pd


def fillMissingValues(products: pd.DataFrame) -> pd.DataFrame:
    products['quantity'] = products['quantity'].fillna(0)
    return products