Feb. 2, 2022, 6:41 p.m. | /u/_GreyX

Data Science www.reddit.com

Have written function to print 5 point summary and show boxplot of a dataset.

import seaborn import numpy def five_points(data): q1,q3 = numpy.percentile(data, [25,75]) print ("q1:",q1,"q3:", q3) iqr = q3-q1 print ("iqr:", iqr) lower_fence = q1-1.5*iqr upper_fence = q3+1.5*iqr print ("lower_fence:",lower_fence,"upper_fence:", upper_fence) seaborn.boxplot(data) 

I have two datasets:

dataset1= [11,10,12,14,12,15,14,13,15,102,12,14,17,19,107,10,13,12,14,12,108,12,11,14,13,15,10,15,12,10,14,13,15,10]

dataset2 = [24, 7, 22, 15, 2, 22, 102, 25, 21, 6, 12, 15, 15, 3, 18, 16, 105, 13, 25, 7, 16, 5, 25, 18, 16, 12, 18, 23, 5, …

boxplot datascience dataset

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Data Engineer

@ Chubb | Simsbury, CT, United States

Research Analyst , NA Light Vehicle Powertrain Forecasting

@ S&P Global | US - MI - VIRTUAL

Sr. Data Scientist - ML Ops Job

@ Yash Technologies | Indore, IN

Alternance-Data Management

@ Keolis | Courbevoie, FR, 92400