You can find the interquartile range in Python using NumPy with the following code. If you want to learn Python then I will highly recommend you to read This Book.
Import the NumPy library.
Make an array using NumPy.
a = np.array([11, 23, 35, 19, 56, 14, 31, 21, 38, 13, 27, 36, 16, 13])
Now find the interquartile range using the following code.
q3, q1 = np.percentile(a, [75 ,25])
inter_quar_range = q3 - q1
People are also reading:
Best Python Books
What is Computer Vision? Examples, Applications, Techniques
Top 10 Computer Vision Books with Python
Books for Machine Learning (ML)
Free Learning Resources