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

more robust detect_separator #2

Open
AlexisEidelman opened this issue Feb 14, 2015 · 3 comments
Open

more robust detect_separator #2

AlexisEidelman opened this issue Feb 14, 2015 · 3 comments

Comments

@AlexisEidelman
Copy link
Contributor

see de1e729

@ColinMaudry
Copy link

(@noirbizarre informed me of your experiments)

I work on a similar project, with the same data (except I work from the RDF version of the metadata).

A possibility is to check which of the typical delimiters is present as many times in the first 4 rows.

@Leobouloc
Copy link
Contributor

@ColinMaudry Thank you for your advice. This should be pretty straightforward to implement. I'll try that when I get a chance. Feel free to make pull requests in the future (hopefully the code will be cleaner and more understandable).

@ColinMaudry
Copy link

I unfortunately don't speak Python, I'm doing it in bash, using sed, csvkit, and csvtool.

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

No branches or pull requests

3 participants