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

Use pandas instead of default csv python module #709

Open
ChrisRBe opened this issue Feb 23, 2023 · 0 comments
Open

Use pandas instead of default csv python module #709

ChrisRBe opened this issue Feb 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ChrisRBe
Copy link
Owner

With the current implementation, output files are written by the default csv module. This means that any floating numbers are printed with "." as decimal delimiter by default.

To improve the localisation of this script with regards to US and EU decimal delimiters, pandas provides better support for this kind of differentiation. See also pandas.DataFrame.to_csv for the API definition.

decimalstr, default ‘.’
Character recognized as decimal separator. E.g. use ‘,’ for European data.

To be further investigated if pandas or python supports automatic localization detection to make this location based.

Implementing this feature/rework should help resolve also issues reported in #692.

@ChrisRBe ChrisRBe added the enhancement New feature or request label Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant