語言

DataFrame.Item[] 屬性

定義

多載

名稱 Description
Item[IEnumerable<Int64>]

回傳一個新的資料框架,使用列索引 rowIndices

Item[String]

基於 Name

Item[IEnumerable<Int32>]

回傳一個新的資料框架,使用列索引 rowIndices

Item[Int64, Int32]

一個索引器用來取得或設定數值。

Item[PrimitiveDataFrameColumn<Int64>]

回傳一個新的資料框架,使用列索引 rowIndices

Item[PrimitiveDataFrameColumn<Int32>]

回傳一個新的資料框架,使用列索引 rowIndices

Item[PrimitiveDataFrameColumn<Boolean>]

利用過濾器中的布林值回傳一個新的 DataFrame

Item[IEnumerable<Boolean>]

回傳一個新的資料框架,使用以下布林值 rowFilter

Item[IEnumerable<Int64>]

來源:
DataFrame.cs
來源:
DataFrame.cs
來源:
DataFrame.cs

回傳一個新的資料框架,使用列索引 rowIndices

public Microsoft.Data.Analysis.DataFrame this[System.Collections.Generic.IEnumerable<long> rowIndices] { get; }
member this.Item(seq<int64>) : Microsoft.Data.Analysis.DataFrame
Default Public ReadOnly Property Item(rowIndices As IEnumerable(Of Long)) As DataFrame

參數

rowIndices
IEnumerable<Int64>

屬性值

適用於

Item[String]

來源:
DataFrame.cs
來源:
DataFrame.cs
來源:
DataFrame.cs

基於 Name

public Microsoft.Data.Analysis.DataFrameColumn this[string columnName] { get; set; }
member this.Item(string) : Microsoft.Data.Analysis.DataFrameColumn with get, set
Default Public Property Item(columnName As String) As DataFrameColumn

參數

columnName
String

一個名稱 DataFrameColumn

屬性值

DataFrameColumn如果存在的話。

例外狀況

擲骰 if columnName 不存在於此 DataFrame

適用於

Item[IEnumerable<Int32>]

來源:
DataFrame.cs
來源:
DataFrame.cs
來源:
DataFrame.cs

回傳一個新的資料框架,使用列索引 rowIndices

public Microsoft.Data.Analysis.DataFrame this[System.Collections.Generic.IEnumerable<int> rowIndices] { get; }
member this.Item(seq<int>) : Microsoft.Data.Analysis.DataFrame
Default Public ReadOnly Property Item(rowIndices As IEnumerable(Of Integer)) As DataFrame

參數

rowIndices
IEnumerable<Int32>

屬性值

適用於

Item[Int64, Int32]

來源:
DataFrame.cs
來源:
DataFrame.cs
來源:
DataFrame.cs

一個索引器用來取得或設定數值。

public object this[long rowIndex, int columnIndex] { get; set; }
member this.Item(int64 * int) : obj with get, set
Default Public Property Item(rowIndex As Long, columnIndex As Integer) As Object

參數

rowIndex
Int64

零基列索引

columnIndex
Int32

零基欄索引

屬性值

儲存在與 rowIndex 交集處的值 columnIndex

適用於

Item[PrimitiveDataFrameColumn<Int64>]

來源:
DataFrame.cs
來源:
DataFrame.cs
來源:
DataFrame.cs

回傳一個新的資料框架,使用列索引 rowIndices

public Microsoft.Data.Analysis.DataFrame this[Microsoft.Data.Analysis.PrimitiveDataFrameColumn<long> rowIndices] { get; }
member this.Item(Microsoft.Data.Analysis.PrimitiveDataFrameColumn<int64>) : Microsoft.Data.Analysis.DataFrame
Default Public ReadOnly Property Item(rowIndices As PrimitiveDataFrameColumn(Of Long)) As DataFrame

參數

rowIndices
PrimitiveDataFrameColumn<Int64>

一列列索引

屬性值

適用於

Item[PrimitiveDataFrameColumn<Int32>]

來源:
DataFrame.cs
來源:
DataFrame.cs
來源:
DataFrame.cs

回傳一個新的資料框架,使用列索引 rowIndices

public Microsoft.Data.Analysis.DataFrame this[Microsoft.Data.Analysis.PrimitiveDataFrameColumn<int> rowIndices] { get; }
member this.Item(Microsoft.Data.Analysis.PrimitiveDataFrameColumn<int>) : Microsoft.Data.Analysis.DataFrame
Default Public ReadOnly Property Item(rowIndices As PrimitiveDataFrameColumn(Of Integer)) As DataFrame

參數

rowIndices
PrimitiveDataFrameColumn<Int32>

一列列索引

屬性值

適用於

Item[PrimitiveDataFrameColumn<Boolean>]

來源:
DataFrame.cs
來源:
DataFrame.cs
來源:
DataFrame.cs

利用過濾器中的布林值回傳一個新的 DataFrame

public Microsoft.Data.Analysis.DataFrame this[Microsoft.Data.Analysis.PrimitiveDataFrameColumn<bool> rowFilter] { get; }
member this.Item(Microsoft.Data.Analysis.PrimitiveDataFrameColumn<bool>) : Microsoft.Data.Analysis.DataFrame
Default Public ReadOnly Property Item(rowFilter As PrimitiveDataFrameColumn(Of Boolean)) As DataFrame

參數

rowFilter
PrimitiveDataFrameColumn<Boolean>

一列布林值

屬性值

適用於

Item[IEnumerable<Boolean>]

來源:
DataFrame.cs
來源:
DataFrame.cs
來源:
DataFrame.cs

回傳一個新的資料框架,使用以下布林值 rowFilter

public Microsoft.Data.Analysis.DataFrame this[System.Collections.Generic.IEnumerable<bool> rowFilter] { get; }
member this.Item(seq<bool>) : Microsoft.Data.Analysis.DataFrame
Default Public ReadOnly Property Item(rowFilter As IEnumerable(Of Boolean)) As DataFrame

參數

rowFilter
IEnumerable<Boolean>

屬性值

適用於