语言

DataFrame.Item[] 属性

定义

重载

名称 说明
Item[IEnumerable<Int64>]

使用行索引返回新的 DataFrame rowIndices

Item[String]

基于索引器的索引器 Name

Item[IEnumerable<Int32>]

使用行索引返回新的 DataFrame rowIndices

Item[Int64, Int32]

用于获取或设置值的索引器。

Item[PrimitiveDataFrameColumn<Int64>]

使用行索引返回新的 DataFrame rowIndices

Item[PrimitiveDataFrameColumn<Int32>]

使用行索引返回新的 DataFrame rowIndices

Item[PrimitiveDataFrameColumn<Boolean>]

使用筛选器中的布尔值返回新的 DataFrame

Item[IEnumerable<Boolean>]

使用布尔值返回新的 DataFrame rowFilter

Item[IEnumerable<Int64>]

Source:
DataFrame.cs
Source:
DataFrame.cs
Source:
DataFrame.cs

使用行索引返回新的 DataFrame 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]

Source:
DataFrame.cs
Source:
DataFrame.cs
Source:
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

a 的名称 DataFrameColumn

属性值

如果存在,则为 A DataFrameColumn 。

例外

如果 columnName 不存在,则引发 DataFrame

适用于

Item[IEnumerable<Int32>]

Source:
DataFrame.cs
Source:
DataFrame.cs
Source:
DataFrame.cs

使用行索引返回新的 DataFrame 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]

Source:
DataFrame.cs
Source:
DataFrame.cs
Source:
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

从零开始的列索引

属性值

存储在 和 交集处 的值

适用于

Item[PrimitiveDataFrameColumn<Int64>]

Source:
DataFrame.cs
Source:
DataFrame.cs
Source:
DataFrame.cs

使用行索引返回新的 DataFrame 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>]

Source:
DataFrame.cs
Source:
DataFrame.cs
Source:
DataFrame.cs

使用行索引返回新的 DataFrame 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>]

Source:
DataFrame.cs
Source:
DataFrame.cs
Source:
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>]

Source:
DataFrame.cs
Source:
DataFrame.cs
Source:
DataFrame.cs

使用布尔值返回新的 DataFrame 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>

属性值

适用于