ehrapy.data.parkinsons

ehrapy.data.parkinsons(encoded=False, columns_obs_only=None)[source]

Loads the Parkinsons Data Set

More details: http://archive.ics.uci.edu/ml/datasets/Parkinsons

Preprocessing: https://github.com/theislab/ehrapy-datasets/blob/main/parkinsons/parkinsons.ipynb

Parameters:
  • encoded (bool, default: False) – Whether to return an already encoded object.

  • columns_obs_only (dict[str, list[str]] | list[str] | None, default: None) – Columns to include in obs only and not X.

Return type:

AnnData

Returns:

AnnData object of the Parkinsons Data Set

Examples

>>> import ehrapy as ep
>>> adata = ep.dt.parkinsons(columns_obs_only=["name"], encoded=True)