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

Create CsvResponse to manage csv exports encoding #3484

Merged
merged 1 commit into from
Sep 18, 2017
Merged

Create CsvResponse to manage csv exports encoding #3484

merged 1 commit into from
Sep 18, 2017

Conversation

JulieRossi
Copy link
Contributor

Fix choosing encoding for writing csv with python3.

Pandas does not manage encoding choices when writing csv on a file descriptor : https://github.com/pandas-dev/pandas/blob/master/pandas/io/common.py#L486
This is a pandas issue (pandas-dev/pandas#13068).

To fix this, I propose to change the encoding as Response level.

fix #1519 (comment)

@coveralls
Copy link

coveralls commented Sep 18, 2017

Coverage Status

Coverage increased (+0.009%) to 69.151% when pulling 0edfc92 on JulieRossi:manage_csv_encoding into e22aecb on apache:master.

@mistercrunch mistercrunch merged commit a26e65f into apache:master Sep 18, 2017
timifasubaa pushed a commit to timifasubaa/incubator-superset that referenced this pull request Oct 3, 2017
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.20.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.20.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Choose encoding when export csv
3 participants