Skip to content

Update CSVDataset in dataset.py#3529

Merged
wyli merged 4 commits intoProject-MONAI:devfrom
nvahmadi:dev
Mar 1, 2022
Merged

Update CSVDataset in dataset.py#3529
wyli merged 4 commits intoProject-MONAI:devfrom
nvahmadi:dev

Conversation

@nvahmadi
Copy link
Copy Markdown
Contributor

Fixes lack of control over pd.read_csv() parameters, e.g. it is now possible to denote the file delimiter.

Description

kwargs argument currently addresses merge operation. There is no way to change kwargs for read_csv () call (e.g. to change delimiter from standard , to \t.
Suggestion: Have kwargs_read_csv and kwargs_merge arguments to allow separate and finer user-control over both loading & merging mechanism.

Status

Ready for review

Types of changes

  • Breaking change (fix or new feature that would cause existing functionality to change).

`kwargs` argument currently addresses merge operation. There is no way to change `kwargs` for `read_csv ()` call (e.g. to change delimiter from standard `,` to `\t`. 
Suggestion: Have `kwargs_read_csv` and `kwargs_merge` arguments to allow separate and finer user-control over both loading & merging mechanism.
@wyli wyli enabled auto-merge (squash) March 1, 2022 12:37
@wyli wyli merged commit 7303805 into Project-MONAI:dev Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants