Unction Which Takes In A List Of Integers And Returns

[Solved] Unction Which Takes In A List Of Integers And Returns | Lisp - Code Explorer | yomemimo.com
Question : unction which takes in a list of integers and returns a dictionary of the five number summary..

Answered by : misty-mongoose-igfeta9lllep

def fivenum(x): series=pd.Series(x) mi = series.min() q1 = series.quantile(q=0.25, interpolation='nearest') me = series.median() q3 = series.quantile(q=0.75, interpolation='nearest') ma = series.max() return pd.Series([mi, q1, me, q3, ma], index=['min', 'q1', 'median', 'q3', 'max'])

Source : | Last Update : Tue, 02 Nov 21

Answers related to unction which takes in a list of integers and returns a dictionary of the five number summary

Code Explorer Popular Question For Lisp