DataFrame.Sample(Int32) 方法

定义

返回行的随机样本

public Microsoft.Data.Analysis.DataFrame Sample (int numberOfRows);
member this.Sample : int -> Microsoft.Data.Analysis.DataFrame
Public Function Sample (numberOfRows As Integer) As DataFrame

参数

numberOfRows
Int32

返回的数据帧中的行数

返回

适用于