pymovements.datasets.ChineseReading.to_yaml#
- ChineseReading.to_yaml(path: str | Path, *, exclude_private: bool = True, exclude_none: bool = True) None [source]#
Save a dataset definition to a YAML file.
- Parameters:
path (str | Path) – Path where to save the YAML file to.
exclude_private (bool) – Exclude attributes that start with
_
.exclude_none (bool) – Exclude attributes that are either
None
or that are objects that evaluate toFalse
(e.g.,[]
,{}
,EyeTracker()
). Attributes of typebool
,int
, andfloat
are not excluded.