pypmi.load_datscan¶
-
pypmi.
load_datscan
(path: str = None, measures: List[str] = None) → pandas.core.frame.DataFrame[source]¶ Loads DaT scan 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 DaT scan measures can be viewed with
pypmi.available_datscan()
. Default: None
Returns: data – DaTScan data
Return type: See also