- classmethod Dataset.from_caselist(names, cases, name=None, caption=None, info=None, random=None, check_dims=True, dim_intersection=False, to_list=False)
Create a Dataset from a list of cases
names – Names for the variables.
cases – A sequence of cases, whereby each case is itself represented as a sequence of values (str or scalar). Variable type (Factor or Var) is inferred from whether values are str or not.
name – Name for the Dataset.
caption – Caption for the table.
info – Info dictionary, can contain arbitrary entries and can be accessed as
.infoattribute after initialization. The Dataset makes a shallow copy.
random – Names of the columns that should be assigned as random factor.
See Dataset basics