Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

grafanaDataFrameToArrowTable() function

grafanaDataFrameToArrowTable() function

Signature

typescript
export declare function grafanaDataFrameToArrowTable(data: DataFrame, keepOriginalNames?: boolean): Table;

Import

typescript
import { grafanaDataFrameToArrowTable } from '@grafana/data';

Parameters

ParameterTypeDescription
dataDataFrame
keepOriginalNamesbooleanby default, the exported Table will get names that match the display within grafana. This typically includes any labels defined in the metadata.When using this function to round-trip data, be sure to set keepOriginalNames=true

Returns:

Table