---
title: "jsonRepresentableDataFrame(of:)"
framework: evaluations
role: symbol
role_heading: Instance Method
path: "evaluations/evaluationresult/jsonrepresentabledataframe(of:)"
---

# jsonRepresentableDataFrame(of:)

Transforms a DataFrame into one with column types compatible with JSON representation.

## Declaration

```swift
func jsonRepresentableDataFrame(of kind: EvaluationResult.DataFrameKind) throws -> DataFrame
```

## Parameters

- `kind`: Whether to convert the summary or detailed DataFrame.

## Return Value

Return Value A new DataFrame with JSON-serializable column types.

## See Also

### Formatting results

- [groupedSummary](evaluations/evaluationresult/groupedsummary.md)
