We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02ccf94 commit 44984e5Copy full SHA for 44984e5
11-fill-missing-data.py
@@ -0,0 +1,9 @@
1
+# use fillna()
2
+
3
+import pandas as pd
4
5
+def fillMissingValues(products: pd.DataFrame) -> pd.DataFrame:
6
+ products['quantity'] = products['quantity'].fillna(0)
7
+ return products
8
9
+# no compmanies listed
0 commit comments