Skip to content

Fix regex for whitespace delimiter in CSV reads#52

Merged
aesuli merged 1 commit intoHLT-ISTI:develfrom
aesuli:read_csv
Feb 23, 2026
Merged

Fix regex for whitespace delimiter in CSV reads#52
aesuli merged 1 commit intoHLT-ISTI:develfrom
aesuli:read_csv

Conversation

@aesuli
Copy link
Copy Markdown
Contributor

@aesuli aesuli commented Feb 23, 2026

This pull request makes minor updates to the way whitespace-separated data files are read in the download function of quapy/data/datasets.py. The changes standardize the sep parameter in pd.read_csv calls to use a raw string for whitespace separation.

Data loading consistency:

  • Removed deprecated delim_whitespace and updated the sep argument in pd.read_csv to use sep="\\s+" (a properly escaped string for whitespace separation) for both the "german" and "semeion" dataset loading cases in quapy/data/datasets.py. [1] [2]

@aesuli aesuli merged commit 5374ef3 into HLT-ISTI:devel Feb 23, 2026
2 of 3 checks passed
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.

1 participant