+++
# -----------------------------------------------------------------------
# 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
Signature
```typescript
export declare function toDataFrameDTO(data: DataFrame): DataFrameDTO;
```
Import
```typescript
import { toDataFrameDTO } from '@grafana/data';
```
Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| data | DataFrame | |
Returns:
`DataFrameDTO`