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

Read a subset of rows #48

Open
Tracked by #3
gaborcsardi opened this issue Jun 4, 2024 · 3 comments
Open
Tracked by #3

Read a subset of rows #48

gaborcsardi opened this issue Jun 4, 2024 · 3 comments
Labels
feature a feature request or enhancement

Comments

@gaborcsardi
Copy link
Member

No description provided.

@gaborcsardi gaborcsardi added the feature a feature request or enhancement label Jun 4, 2024
@al-obrien
Copy link

al-obrien commented Feb 7, 2025

Noticed this didn't make it into the latest release, any plans for the next cycle? This would be incredibly useful as a parameter in read_parquet()

@gaborcsardi
Copy link
Member Author

Do you actually want to read an arbitrary subset, or do you want to read

  • the beginning of the file?
  • the end of the file?
  • an interval or rows?
  • a couple of intervals?

@al-obrien
Copy link

al-obrien commented Feb 8, 2025

All of these sound great, I think having a behavior similar to functions like fread() nrows would suffice. This would just read the first n rows or, even better, the firstn rows after a provided skip value (without having to read the entire file into R).

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

No branches or pull requests

2 participants