mediana python

//Just do following: ;) 
import numpy as np
np.median(a)
Armandres