Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] multiple delimeters #1054

Open
1 of 2 tasks
willm opened this issue Nov 8, 2024 · 0 comments
Open
1 of 2 tasks

[FEATURE] multiple delimeters #1054

willm opened this issue Nov 8, 2024 · 0 comments
Assignees

Comments

@willm
Copy link

willm commented Nov 8, 2024

Parsing or Formatting?

  • Formatting
  • Parsing

Is your feature request related to a problem? Please describe.
I need to parse a file that uses inconsistent delimiters (tab and space in my case)

Describe the solution you'd like
I'd like to be able to specify a list of delimiters

parse({  delimiter: [' ', '\t'] })

Describe alternatives you've considered
I tried using \s as a delimiter in the end I created my own stream to replace the tabs with spaces before piping to fastcsv. an alternative could be to specify a regex pattern as a delimiter like pandas for sep

Additional context
I'm happy to try to implement this if you think this is a worthwhile feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants