torcharrow.DataFrame.min¶
- DataFrame.min()¶
返回每列非空值的最小值。
示例
>>> import torcharrow as ta >>> df = ta.dataframe({"a": [1,2,None,4], "b": [5, 6, None, 8] }) >>> df.min() index a b ------- --- --- 0 1 5 dtype: Struct([Field('a', Int64(nullable=True)), Field('b', Int64(nullable=True))]), count: 1, null_count: 0