calculate quartil python

Solutions on MaxInterview for calculate quartil python by the best coders in the world

showing results for - "calculate quartil python"
Niklas
20 Jun 2018
1>>> np.percentile(df.time_diff, 25)  # Q1
20.48333300000000001
3
4>>> np.percentile(df.time_diff, 50)  # median
50.5
6
7>>> np.percentile(df.time_diff, 75)  # Q3
80.51666699999999999
9
similar questions
queries leading to this page
calculate quartil python