posit-dev / positron

Positron, a next-generation data science IDE
https://positron.posit.co
Other
2.82k stars 90 forks source link

Data Explorer: Implement summary stats and histograms/frequency tables to make sparklines #5414

Closed wesm closed 1 day ago

wesm commented 2 days ago

Addresses #5128. There is a more refinement to do here and plenty of edge case scenarios to test (e.g. histograms of very large INT64 / BIGINT values, completing summary statistics for date/time values). Unit testing this code is a bit of a pain -- my goal was to get this working and at looking the same as R/Python at a glance, and then go through data type by data type to add test coverage for different edge cases.