From 227078b7f71514aa71d67be198030b82e5cd0375 Mon Sep 17 00:00:00 2001 From: RAMESWAR Date: Sun, 20 Oct 2024 18:56:00 +0530 Subject: [PATCH] Performed EDA: Handled missing values with forward fill (ffill) and capped outliers using IQR method for stock price data. --- .ipynb_checkpoints/stock_market(complete)-checkpoint.ipynb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.ipynb_checkpoints/stock_market(complete)-checkpoint.ipynb b/.ipynb_checkpoints/stock_market(complete)-checkpoint.ipynb index 618d424..3c08fd7 100644 --- a/.ipynb_checkpoints/stock_market(complete)-checkpoint.ipynb +++ b/.ipynb_checkpoints/stock_market(complete)-checkpoint.ipynb @@ -458,7 +458,7 @@ } ], "source": [ - "# Using forward fill for time-series continuity\n", + "# Using forward fill for time-series continuity in stock prediction\n", "df['Open'] = df['Open'].ffill()\n", "df['High'] = df['High'].ffill()\n", "df['Low'] = df['Low'].ffill()\n", @@ -467,7 +467,9 @@ "df['Volume'] = df['Volume'].ffill()\n", "\n", "# Checking for remaining NaN values\n", - "df.isnull().sum()" + "df.isnull().sum()\n", + "\n", + "\n" ] }, {