create_participant_tsv
- bidsaid.files.create_participant_tsv(bids_dir, save_df=False, return_df=True)[source]
Creates a basic dataframe for the “participants.tsv” file.
Parameters
- bids_dir
strorPath The root of BIDS compliant directory.
- save_df
bool, bool=False Save the dataframe to the root of the BIDS compliant directory.
- return_df
str, default=True Returns dataframe if True else return None.
Returns
- pandas.DataFrame or None
The dataframe if
return_dfis True.
- bids_dir