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
Autodetect delimiter in CSV files #80
Comments
Good one, @jeanferri! :-) |
Note that you can pass |
Ok, I'll try it tomorrow and in case of success I will send you a PR... |
@jeanferri, did you have time to work on this issue? |
Not yet but will... First I have to fix some urgent bugs in Portal Modelo transparency module... |
Ok. If I may help in any way, please ask. ;) |
Currently the import_from_csv method have the parameter 'delimiter' that assumes ',' as default, but sometimes we don't know what is the delimiter and need it autodetect. Specially usefull in case of CSV files generated in MS Excell that uses ';' as delimiter.
A quick and dirty possibility to make this works is counting the number of times ',', ';' and 'tab' is used in the file and assumes as delimiter the most used.
The text was updated successfully, but these errors were encountered: