mlreportgen.utils.TableSlicer Class
Namespace: mlreportgen.utils
Divide table into slices
Description
Divides a table vertically into a set of narrower tables (slices). To divide a table that
is too wide to fit legibly on a page into a set of legible slices, use this
TableSlicer
object.
The mlreportgen.utils.TableSlicer
class is a handle
class.
Creation
Description
creates an empty table slicer object. Use its properties to specify the input table to
slice, the maximum number of columns per slice, and the number of columns to repeat.slicer
= mlreportgen.utils.TableSlicer
Note
To slice a table generated by the mlreportgen.report.BaseTable
reporter, set the MaxCols
property of the
BaseTable
reporter to the size of the slices you want to generate.
You do not need to use this TableSlicer
utility to set the slice
width.
creates a table slicer object with additional options specified by one or more
slicer
= mlreportgen.utils.TableSlicer(Name=Value
)Name=Value
pair arguments. Name
is the
property name and Value
is the corresponding value. You can specify
several name-value pair arguments in any order as
Name1=Value1,...,NameN=ValueN
.
Properties
Methods
Examples
Version History
Introduced in R2018b