-
Notifications
You must be signed in to change notification settings - Fork 370
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
Fix float grouping #2791
Fix float grouping #2791
Conversation
This reverts commit 289fadf.
Woops. Though maybe it would be worth checking whether the data contains |
No, it is OK, because:
We could add a check against If you would prefer to add special handling of |
As you prefer, but I tend to think that it's good to support the fast path in as many cases as possible unless that's hard to do. For example, R uses floats by default when reading CSV files, so people could end up with float columns with only integers instead of |
I have implemented it and added tests showing the consequences. Let us decide which approach is better. |
I will finalize this PR with the current design (treat float as integer if possible). After thinking I think it is less breaking, as we just have to add only the following condition to the current rules:
(so doing it this way is less breaking) |
Co-authored-by: Milan Bouchet-Valat <[email protected]>
…aFrames.jl into fix_float_grouping
@nalimilan - I have made the requested cleanups. This should be good to be merged. Thank you! |
Co-authored-by: Milan Bouchet-Valat <[email protected]>
Co-authored-by: Milan Bouchet-Valat <[email protected]>
Thank you! |
Fixes #2790