> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# convertDatasetRowToRecord

***

# Function: convertDatasetRowToRecord()

```ts theme={null}
function convertDatasetRowToRecord(datasetRow: DatasetRow): DatasetRecord;
```

Defined in: [src/utils/datasets.ts](https://github.com/rungalileo/galileo-js/blob/main/src/utils/datasets.ts)

Converts a dataset row to a dataset record.

## Parameters

### datasetRow

[`DatasetRow`](/sdk-api/typescript/reference/README/type-aliases/DatasetRow)

The dataset row to convert.

## Returns

[`DatasetRecord`](/sdk-api/typescript/reference/types/interfaces/DatasetRecord)

The dataset record created from the row.
