larch.Dataset.set_dtypes
larch.Dataset.set_dtypes¶
- Dataset.set_dtypes()¶
Set the dtypes for the variables in this Dataset.
- Parameters
dtypes (Mapping or DataFrame) – Mapping of names to dtypes, or a DataFrame to infer such a mapping.
inplace (bool, default False) – Whether to convert dtypes inplace.
on_error ({'warn', 'raise', 'ignore'}) – What to do when a type conversion triggers an error.
- Returns
Dataset