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