pypmi.load_behavior¶
-
pypmi.
load_behavior
(path: str = None, measures: List[str] = None) → pandas.core.frame.DataFrame[source]¶ Loads clinical-behavioral data into tidy dataframe
Parameters: - path (str, optional) – Filepath to directory containing PPMI data files. If not specified this function will, in order, look (1) for an environmental variable $PPMI_PATH and (2) in the current directory. Default: None
- measures (list, optional) – Which measures to keep in the final dataframe. If not specified all
measures are retained; available behavioral measures can be viewed with
pypmi.available_behavior()
. Default: None
Returns: df – Tidy DataFrame with all clinical-behavioral assessments
Return type: See also