# getValueByIndexLabel-按行索引列标签获取值
调用getValueByIndexLabel函数通过行索引和列标签获取单个值。
最小支持版本:5.0.0
# 接口说明
已获取DataFrame对象,详情请参见readCSV (opens new window)。
# 语法
<DataFrame object>.getValueByIndexLabel(<index>, <label>)
1
<DataFrame object>.按行索引列标签获取值(<index>, <label>)
1
# 函数类型
实例函数
# 请求参数
参数名称 | 类型 | 是否必选 | 默认值 | 示例值 | 描述 |
---|---|---|---|---|---|
index | Cube.Lang.Number | 是 | 无 | 1 | 行索引。 |
label | Cube.Object | 是 | 无 | "第n列" | 列标签。 |
# 返回参数
参数名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Result | Cube.Object | "指定位置的值" | 行索引和列标签对应位置上的值。 |
# 请求示例
DataFrame对象.getValueByIndexLabel(1, "第n列")
1
最近更新时间: {
"value": "2023-09-12",
"effect": true
}