description(options:)
Generates a text representation of the data frame type.
Declaration
func description(options: FormattingOptions) -> StringParameters
- options:
A set of formatting options that affect the description string, including the maximum width of a column and the maximum number of rows.
Discussion
FormattingOptions.maximumLineWidth needs to be wide enough to print at least the index column, the truncation column, and one data column (at least two characters, one for initial of the content, and one for “…”).