# getSubDataFrameByAbsoluteRowList-按行绝对索引列表获取子表
调用getSubDataFrameByAbsoluteRowList函数通过行的绝对索引列表获取子表(可不连续)。
最小支持版本:5.6.0
# 接口说明
已构建DataFrame对象,详情请参见readCSV (opens new window)。
# 语法
<DataFrame object>.getSubDataFrameByAbsoluteRowList(<rows>, null)
1
<DataFrame object>.按行绝对索引列表获取子表(<rows>, null)
1
# 函数类型
实例函数
# 请求参数
参数名称 | 类型 | 是否必选 | 默认值 | 示例值 | 描述 |
---|---|---|---|---|---|
rows | Cube.Object | 是 | 无 | 12 | 行绝对索引。支持整型、整型容器(列表、Index、Series)。 |
columns | Cube.Object | 是 | 无 | null | 输出的列,默认为null,表示所有的列。 |
# 返回参数
参数名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Result | Cube.System.DataFrame | Cube.System.DataFrame | 获取的子表。若无选中的行,则为空表。 |
# 请求示例
Dataframe对象.getSubDataFrameByAbsoluteRowList(12, null)
1
最近更新时间: {
"value": "2023-09-12",
"effect": true
}