Ticker

6/recent/ticker-posts

Outlier detection and removal using IQR:

   Outlier detection and removal using IQR:


Importing Libraries:


Printing first 10 rows:


Statistically describing the dataset:


Visualizing outliers by boxplot:


Visualizing outliers by seaborn boxplot:


 
Visualizing outliers by scatter plot:


Visualizing outliers by hist plot:



 Calculating Q1 and Q3:


Calculating IQR:



Finding Lower Limit and Upper Limit:


 
Printing the rows below Lower Limit and above Upper Limit(Outliers):




Data within the lower and upper limit (Without outliers):





 


Post a Comment

0 Comments