eland.Series.median

Series.median(numeric_only: Optional[bool] = None) → pandas.core.series.Series

Return the median of the Series values

TODO - implement remainder of pandas arguments, currently non-numerics are not supported

Returns
float

median value

Examples

>>> s = ed.DataFrame('localhost', 'flights')['AvgTicketPrice']
>>> int(s.median())
640