Answers for "calculate quartil python"

0

calculate quartil python

>>> np.percentile(df.time_diff, 25)  # Q1
0.48333300000000001

>>> np.percentile(df.time_diff, 50)  # median
0.5

>>> np.percentile(df.time_diff, 75)  # Q3
0.51666699999999999
Posted by: Guest on May-05-2021

Python Answers by Framework

Browse Popular Code Answers by Language