eland.Series.mad#

Series.mad(numeric_only: Optional[bool] = None) Series#

返回 Series 的中位数绝对偏差

返回#

float

mad 值

另请参阅#

pandas.Series.mad

示例#

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