帮助中心

# getColumnByLabel-按表头获取列

调用getColumnByLabel函数通过列标签获取指定的列。

最小支持版本:5.0.0

# 接口说明

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

# 语法

<DataFrame object>.getColumnByLabel(<label>)
1
<DataFrame object>.按表头获取列(<label>)
1

# 函数类型

实例函数

# 请求参数

参数名称 类型 是否必选 默认值 示例值 描述
label Cube.Object "name" 列标签。

# 返回参数

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

# 请求示例

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