Package that provides tools for brain MRI Deep Learning pre-processing.
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.
- brainprep.workflow.mriqc.merge_dfs(userdf, apidf)[source]¶
Merges the user dataframe and the filtered API dataframe while adding a ‘source’ column.
- Parameters:
userdf : DataFrame
user mriqc table.
apidf : DataFrame
filtered API table.
- Returns:
mergedf : DataFrame
a merged pandas dataframe containing the user and the filtered API tables. A ‘source’ column is added with ‘user’ or ‘api’ entries for easy sorting/splitting.
Follow us