From cb8a4e41276c61d32c724568bbe6a8d1eba6a089 Mon Sep 17 00:00:00 2001
From: amilashanaka <dsa.amilashanaka@gmail.com>
Date: Tue, 29 Nov 2022 02:37:10 +0000
Subject: [PATCH] prepare data set

---
 model.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/model.py b/model.py
index d424372..738ca0d 100644
--- a/model.py
+++ b/model.py
@@ -25,4 +25,9 @@ data.rename(columns = {'Product_Code': 'ProductCode',
                        'Order_Demand': 'OrderDemand'}, inplace = True)
 data.head()
 
-data.isnull().sum()
+print(data.isnull().sum())
+
+data.dropna(inplace=True)
+
+print(data.isnull().sum())
+
-- 
GitLab