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

improve printing of GroupedDataFrame in corner cases #3187

Merged
merged 4 commits into from
Oct 1, 2022

Conversation

bkamins
Copy link
Member

@bkamins bkamins commented Sep 29, 2022

Fixes #3186

Covers all corner cases of various relative sizes of groups and single group.

@bkamins bkamins added this to the 1.4 milestone Sep 29, 2022
@bkamins
Copy link
Member Author

bkamins commented Sep 29, 2022

CC @Jollywatt @nalimilan

Copy link
Member

@nalimilan nalimilan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't checked the logic, but you know better...

src/groupeddataframe/show.jl Outdated Show resolved Hide resolved
src/groupeddataframe/show.jl Outdated Show resolved Hide resolved
test/show.jl Outdated Show resolved Hide resolved
test/show.jl Outdated Show resolved Hide resolved
@ronisbr
Copy link
Member

ronisbr commented Oct 1, 2022

LGTM!

bkamins and others added 2 commits October 1, 2022 19:14
Co-authored-by: Milan Bouchet-Valat <nalimilan@club.fr>
@bkamins
Copy link
Member Author

bkamins commented Oct 1, 2022

@nalimilan - it is good that we fixed these OutOfMemory issues on 32 bit machines as now our tests catch bugs instead of constantly failing.

@Jollywatt - if you are interested have a look at the last commit if you want to know how tests should be written so that they are correct on both 64 and 32 bit architectures.

src/groupeddataframe/show.jl Outdated Show resolved Hide resolved
@bkamins bkamins merged commit 8695b3f into main Oct 1, 2022
@bkamins bkamins deleted the bk/fix_gdf_printing branch October 1, 2022 22:11
@bkamins
Copy link
Member Author

bkamins commented Oct 1, 2022

Thank you!

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

Successfully merging this pull request may close these issues.

better handling of corner cases of GroupedDataFrame printing
3 participants