共用方式為


DataFrameColumn.Sum 方法

定義

多載

Sum()

傳回資料行中值的總和

Sum(IEnumerable<Int64>)

傳回 rowIndices 上值的總和

Sum()

傳回資料行中值的總和

public virtual object Sum ();
abstract member Sum : unit -> obj
override this.Sum : unit -> obj
Public Overridable Function Sum () As Object

傳回

適用於

Sum(IEnumerable<Int64>)

傳回 rowIndices 上值的總和

public virtual object Sum (System.Collections.Generic.IEnumerable<long> rowIndices);
abstract member Sum : seq<int64> -> obj
override this.Sum : seq<int64> -> obj
Public Overridable Function Sum (rowIndices As IEnumerable(Of Long)) As Object

參數

rowIndices
IEnumerable<Int64>

傳回

適用於