+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "toDataFrameDTO"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## toDataFrameDTO() function

### toDataFrameDTO() function

Returns a copy that does not include functions

<b>Signature</b>

```typescript
export declare function toDataFrameDTO(data: DataFrame): DataFrameDTO;
```
<b>Import</b>

```typescript
import { toDataFrameDTO } from '@grafana/data';
```
<b>Parameters</b>

|  Parameter | Type | Description |
|  --- | --- | --- |
|  data | <code>DataFrame</code> |  |

<b>Returns:</b>

`DataFrameDTO`

