Ticker

6/recent/ticker-posts

Handling missing values using KNN Imputer:

 Handling missing values using KNN Imputer:

Importing Libraries:



 Loading dataset:


 Printing first 10 rows of dataset:



 Number of rows and columns in the dataset:



Overall information about the dataset:



Name of the columns:



 Statistically describing the dataset:


 
Number of null values:



 Visualizing null values using heat map:


 
Importing KNN Imputer from SKlearn and fitting the data:


Coverting the array into dataframe:





 
 


Post a Comment

0 Comments