Skip to content

Let histogram carefully bin data unless for very large data sets #5352

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

Merged
merged 1 commit into from
Jun 18, 2021

Conversation

PaulWessel
Copy link
Member

See #5343 for background. By comparing a value to the array of bin boundaries we can consistently round in the same direction. However, for large data sets of more than 1 million points we will use a faster approach for equidistant bins where values that fall exactly on bin boundaries will be rounded in alternate directions per standard rounding conventions.

Hence, this is not really a bug fix per se as the original case is a clear user error of not using -F.

See #5343 for background.  By comparing a value to the array of bin boundaries we can consistently round in the same direction.  However, for large data sets of more than 1 million points we will use a faster approach for equidstant bins where values that fall exactly on bin boundaries will be rounded in alternate directions per standard rounding conventions.
@PaulWessel PaulWessel self-assigned this Jun 18, 2021
@PaulWessel PaulWessel merged commit 703c714 into master Jun 18, 2021
@PaulWessel PaulWessel deleted the histogram-bin-revisit branch June 18, 2021 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants