帮助中心

# getValueByIndex-按索引获取值

调用getValueByIndex函数通过行列索引获取单个值。

最小支持版本:5.0.0

# 接口说明

已获取DataFrame对象,详情请参见readCSV (opens new window)

# 语法

<DataFrame object>.getValueByIndex(<rowIndex>, <colIndex>)
1
<DataFrame object>.按索引获取值(<rowIndex>, <colIndex>)
1

# 函数类型

实例函数

# 请求参数

参数名称 类型 是否必选 默认值 示例值 描述
rowIndex Cube.Lang.Number 1 行索引。
colIndex Cube.Lang.Number 1 列索引。

# 返回参数

参数名称 类型 示例值 描述
Result Cube.Object "指定位置的值" Dataframe指定行列索引位置上的值。

# 请求示例

DataFrame对象.getValueByIndex(1, 1)
1
最近更新时间: { "value": "2023-09-12", "effect": true }