opendp / dp-wizard

Web application that makes data releases that satisfy differential privacy using the OpenDP Library
MIT License
0 stars 1 forks source link

bins appear out of order in the histogram plot #165

Closed mccalluc closed 1 week ago

mccalluc commented 1 week ago

bins appear out of order in the histogram plot

Good catch: These strings are being sorted alphabetically, so "10" comes before "2". I think the best way to fix this is to pull out the first number of a pair and sort, probably on the python side, rather than trying to parse the string inside polars. Will file a new issue.

Originally posted by @mccalluc in https://github.com/opendp/dp-wizard/issues/152#issuecomment-2479651210