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

To include header row even when it's specified #36

Open
hendryang opened this issue Jan 30, 2020 · 1 comment
Open

To include header row even when it's specified #36

hendryang opened this issue Jan 30, 2020 · 1 comment

Comments

@hendryang
Copy link

Hi folks, thanks for this awesome lib.

is it possible to also include the "Row" that has been specified as header ( header:{rows:1} ) in the result ?

Sample use case:
I set header:{rows:2} , and i need to retrieve if all the column headers are correct for assertion (eq those in row 2). currently once it's specified as header, the data will be removed from the result hence i cannot do the assertion. the reason i need to specify header is mainly for {{columnHeader}} in columnToKey

thanks

@DiegoZoracKy
Copy link
Owner

Hi @hendryang,

Tell me a bit more about the assertion step. Do you want to match the headers found on row 2 with some list that you have prior to run the conversion?

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

No branches or pull requests

2 participants