eland.Series.mean

Series.mean(numeric_only: bool | None = None) Series

Return the mean of the Series values

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

Returns

float

mean value

See Also

pandas.Series.mean

Examples

>>> s = ed.DataFrame('http://localhost:9200', 'flights')['AvgTicketPrice']
>>> int(s.mean())
628