Skip to content

2887. Fill Missing Data 👍

1
2
3
4
5
6
import pandas as pd


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