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

Option to remove the header when formatting #34

Closed
dandv opened this issue Jan 16, 2018 · 3 comments
Closed

Option to remove the header when formatting #34

dandv opened this issue Jan 16, 2018 · 3 comments

Comments

@dandv
Copy link
Contributor

dandv commented Jan 16, 2018

Sometimes it's useful to format without a header, for example when appending to an existing CSV file.

@danverde
Copy link

Agreed. This would be a great option.

@mbostock
Copy link
Member

You can do this using dsv.formatRows, but it requires converting your array of objects into an array of arrays first.

@mbostock
Copy link
Member

mbostock commented Feb 7, 2019

I’ve added dsv.formatBody in #42 and it will be available in the next minor release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants