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

Add header to to_csv (dataset = True )results #765

Closed
samliuq opened this issue Jun 24, 2021 · 0 comments
Closed

Add header to to_csv (dataset = True )results #765

samliuq opened this issue Jun 24, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request minor release Will be addressed in the next minor release ready to release
Milestone

Comments

@samliuq
Copy link

samliuq commented Jun 24, 2021

Is your idea related to a problem? Please describe.
When using to_csv() to table or dataset = True, the csv file exported do not have header. Which make the files un-usable for non-glue users.

Describe the solution you'd like
Please add an option to add header to the files exported.

wr.s3.to_csv(df, table = xx, header = True)

PS. After adding header, also need to add table parameter 'skip.header.line.count' = '1', or the header will be recognized as records.
P.S. Don't attach files. Please, prefer add code snippets directly in the message body.

@samliuq samliuq added the enhancement New feature or request label Jun 24, 2021
@kukushking kukushking added this to the 2.10.0 milestone Jul 1, 2021
@kukushking kukushking added minor release Will be addressed in the next minor release ready to release labels Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor release Will be addressed in the next minor release ready to release
Projects
None yet
Development

No branches or pull requests

2 participants