Source Code:
(back to article)
import numpy as np data = [1, 2, 3, 4, 5] median = np.median(data) print(median)
Result:
Report an issue