帮助中心

# getRowByLabel-按标签获取行

调用getRowByLabel函数通过标签获取整行。

最小支持版本:5.0.0

# 接口说明

已构建DataFrame对象,详情请参见fromObject (opens new window)

# 语法

<DataFrame object>.getRowByLabel(<label>)
1
<DataFrame object>.按标签获取行(<label>)
1

# 函数类型

实例函数

# 请求参数

参数名称 类型 是否必选 默认值 示例值 描述
label Cube.Object 1 行标签,数值或字符串或日期时间,根据标签的数据类型确定。

# 返回参数

参数名称 类型 示例值 描述
Result Cube.System.Series Cube.System.Series 行,Series对象。

# 请求示例

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