eland.Series.var#

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

返回 Series 的方差

返回值#

float

方差值

另请参见#

pandas.Series.var

示例#

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