Skip to content

Add tail method on DataFrame #12911

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
ion-elgreco opened this issue Oct 13, 2024 · 0 comments
Open

Add tail method on DataFrame #12911

ion-elgreco opened this issue Oct 13, 2024 · 0 comments

Comments

@ion-elgreco
Copy link

          Is there a better way we could do this? Maybe add something upstream if necessary?

As I'm thinking of it, I don't know that this operation is necessarily well defined. Just like with limit when you call it multiple times on a large dataframe you get different results, I would expect different results from multiple calls here.

If we do put this in, I would suggest adding more text to the description to explain why this is an expensive operation - that it performs a collect to determine the size of the dataframe.

Originally posted by @timsaucer in apache/datafusion-python#915 (comment)

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

No branches or pull requests

1 participant