torcharrow.DataFrame.std¶
- DataFrame.std()¶
Return the standard deviation of the non-null values for each column.
Examples
>>> 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