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 "skip headers" argument (-F in BCP CLI) #19

Open
mikealfare opened this issue Jul 23, 2020 · 0 comments
Open

Add "skip headers" argument (-F in BCP CLI) #19

mikealfare opened this issue Jul 23, 2020 · 0 comments

Comments

@mikealfare
Copy link
Member

The (MSSQL) BCP CLI has an option to skip header rows: "-F". This option is needed specifically for reading files in. There are two interpretations of the number that would be passed in. It is either the number of rows to skip, which would default to 0. Or it is the line on which to start reading, which would default to 1. The latter is the way BCP's -F flag works, but may not be as intuitive in the python mindset. I'm open to arguments, and I'm currently thinking of how the skiprows option works in pandas.read_csv(). I think I want to be consistent with python more than MSSQL BCP.

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

1 participant