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('http://localhost:9200', 'flights')['AvgTicketPrice']
>>> int(s.median())
640