torcharrow.DataFrame.std¶
- DataFrame.std()¶
返回每个列的非空值的标准差。
示例
>>> import torcharrow as ta >>> df = ta.dataframe({"a": [1.0,2.0,None,3.0], "b": [5.0, 7.0, None, 9.0] }) >>> df.mean() index a b ------- --- --- 0 1 2 dtype: Struct([Field('a', Float32(nullable=True)), Field('b', Float32(nullable=True))]), count: 1, null_count: 0