11"""
2- Dataset .getmaxwidths(ds::AbstractDataset,
2+ IMD .getmaxwidths(ds::AbstractDataset,
33 io::IO,
44 rowindices1::AbstractVector{Int},
55 rowindices2::AbstractVector{Int},
8989"""
9090 show(io::IO, mime::MIME, ds::AbstractDataset)
9191
92- Render a data frame to an I/O stream in MIME type `mime`.
92+ Render a data set to an I/O stream in MIME type `mime`.
9393
9494# Arguments
9595- `io::IO`: The I/O stream to which `ds` will be printed.
9696- `mime::MIME`: supported MIME types are: `"text/plain"`, `"text/html"`, `"text/latex"`,
9797 `"text/csv"`, `"text/tab-separated-values"` (the last two MIME types do not support
9898 showing `#undef` values)
99- - `ds::AbstractDataset`: The data frame to print.
99+ - `ds::AbstractDataset`: The data set to print.
100100
101101Additionally selected MIME types support passing the following keyword arguments:
102102- MIME type `"text/plain"` accepts all listed keyword arguments and therir behavior
103103 is identical as for `show(::IO, ::AbstractDataset)`
104104- MIME type `"text/html"` accepts `summary` keyword argument which
105- allows to choose whether to print a brief string summary of the data frame .
105+ allows to choose whether to print a brief string summary of the data set .
106106
107107# Examples
108108```jldoctest
109- julia> show(stdout, MIME("text/latex"), DataFrame (A = 1:3, B = ["x", "y", "z"]))
109+ julia> show(stdout, MIME("text/latex"), Dataset (A = 1:3, B = ["x", "y", "z"]))
110110\\ begin{tabular}{r|cc}
111111\t & A & B\\\\
112112\t\\ hline
@@ -118,7 +118,7 @@ julia> show(stdout, MIME("text/latex"), DataFrame(A = 1:3, B = ["x", "y", "z"]))
118118\\ end{tabular}
11911914
120120
121- julia> show(stdout, MIME("text/csv"), DataFrame (A = 1:3, B = ["x", "y", "z"]))
121+ julia> show(stdout, MIME("text/csv"), Dataset (A = 1:3, B = ["x", "y", "z"]))
122122"A","B"
1231231,"x"
1241242,"y"
@@ -454,6 +454,7 @@ function _show(io::IO, ::MIME"text/latex", ds::AbstractDataset;
454454 write (io, " \\\\\n " )
455455 end
456456 write (io, " \\ end{tabular}\n " )
457+ nothing
457458end
458459
459460# function Base.show(io::IO, mime::MIME"text/latex", dsr::DataFrameRow; eltypes::Bool=true)
0 commit comments