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

allow for skipping rows in CSV reader #2035

Open
universalmind303 opened this issue Nov 2, 2023 · 0 comments
Open

allow for skipping rows in CSV reader #2035

universalmind303 opened this issue Nov 2, 2023 · 0 comments
Labels
feat New feature or request

Comments

@universalmind303
Copy link
Contributor

Description

Some tools generate CSVs that contain some extra data at the top, such as bank statement exports

"Account Name : REDACTED"
"Account Number : REDACTED"
"Date Range : 01/01/2023-11/02/2023"
Transaction Date,Posted Date,Category,Debit
2023-11-01,2023-11-01,Payment/Credit,100.00

A CSV with these extra rows before the header is currently unreadable. I'd like an option to skip these rows

select * from read_csv(
  'transactions.csv', 
  skip_rows => 3
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants