jsonRepresentableDataFrame(of:)
Transforms a DataFrame into one with column types compatible with JSON representation.
Declaration
func jsonRepresentableDataFrame(of kind: EvaluationResult.DataFrameKind) throws -> DataFrameParameters
- kind:
Whether to convert the summary or detailed DataFrame.
Return Value
A new DataFrame with JSON-serializable column types.
Discussion
The detailed branch always excludes the Transcript column from this public helper; transcript serialization is opted into through jsonData(includeReportMetadata:includeTranscripts:jsonOptions:).