DataFrameFactory.

for_insight

for_insight( insight_id: str, auto_index: bool ) -> pandas.DataFrame

Creates a data frame with columns based on the content of the insight with the provided identifier.

Parameters

nametypedescription
insight_idstrInsight identifier.
auto_indexboolDefault True. Enables creation of DataFrame with index depending on the contents of the insight.

Returns

typedescription
pandas.DataFrameA DataFrame instance.