This documentation is for an older version of GoodData.
Go to the latest version of this article.
DataFrameFactory.
for_items
for_items(
items: ColumnsDef, filter_by: Optional[Union[Filter, list[Filter]]], auto_index: bool
) ->
pandas.DataFrame
Creates a data frame for named items. This is a convenience method that will create DataFrame with or
without index based on the context of the items that you pass.
Parameters
name | type | description |
---|---|---|
items | ColumnsDef | Dictionary mapping item name to its definition. |
filter_by | Optional[Union[Filter, list[Filter]]] | Optionally specify filters to apply during computation on the server. |
auto_index | bool | Default True. Enables creation of DataFrame with index depending on the contents of the items. |
Returns
type | description |
---|---|
pandas.DataFrame | A DataFrame instance. |