Skip to content

Conversation

@mccalluc
Copy link
Contributor

@mccalluc mccalluc commented Nov 17, 2025

First, just want to allow counts to be manually turned on. After this, will turn on counts in the AnalysisPlan (even if not selected in UI) when a mean is requested, so we only need to release the DP count once.

For reviewer:

  • Where should the checkbox go? I had considered adding it to one of the other cards, but it does feel like its own thing... but now we have five cards to arrange... giving the epsilon slider double width might make sense, since it does have more text than the others?
  • Does the generated notebook seem idiomatic?
  • Does it seem ok to just reuse the histogram templating for this? Or is it getting confusing? Would it be better to copy the Histogram code, and set up a new section just for doing counts?

If anything feels sketchy here, one possibility would be to keep a lot of the tooling changes, which are unequivocally improvements, and then try a different approach for the count analysis.


columns_icon = icon_svg("table-columns")
groups_icon = icon_svg("table")
row_counts_icon = icon_svg("hashtag")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

If this should be it's own panel, do any of the other icons seem better?

DP Statistics for `data_col`, grouped by `grouping_col`, without counts
>>> print(plan.to_stem())
dp_statistics_for_data_col_grouped_by_grouping_col
dp_statistics_for_data_col_grouped_by_grouping_col_without_counts
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is the without_counts too much?

@mccalluc mccalluc marked this pull request as ready for review November 20, 2025 14:14
@mccalluc mccalluc moved this from Pending to Ready for Review in DP Wizard Nov 20, 2025
@mccalluc mccalluc marked this pull request as draft November 24, 2025 14:12
@mccalluc
Copy link
Contributor Author

mccalluc commented Nov 24, 2025

Suggestion from Ellen: Always do count, and explain in the notebook that it is optional. Less UI clutter, and simpler code generation, and probably less confusing to users.

@mccalluc mccalluc moved this from Ready for Review to Pending in DP Wizard Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pending

Development

Successfully merging this pull request may close these issues.

2 participants