Skip to content
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

Updated percentile.py to allow user defined percentiles, and separating calculated values into separate columns #103

Merged
merged 7 commits into from
Dec 22, 2023

Conversation

AndyM1098
Copy link
Contributor

I've updated percentile.py in order for the user to define what percentile values they would like calculated. If the user does not specify what percentile values to calculate, it uses the default values [.25, .50, .75].

Another fix made is that for each calculated percentile for each column, the calculated value is put into it's own separate column in the statistics frame with the format: column_percentiles_percentile instead of all the values in a list.

@AndyM1098 AndyM1098 added area-stats Issues and PRs related to Thicket's stats subpackage priority-normal Normal priority issues and PRs status-ready-for-review This PR is ready to be reviewed by assigned reviewers type-bug Identifies bugs in issues and identifies bug fixes in PRs type-feature Requests for new features or PRs which implement new features labels Oct 24, 2023
@AndyM1098 AndyM1098 requested a review from slabasan October 24, 2023 15:55
@AndyM1098 AndyM1098 self-assigned this Oct 24, 2023
@slabasan slabasan merged commit 2d9faf5 into LLNL:develop Dec 22, 2023
4 checks passed
Yejashi pushed a commit to TauferLab/thicket that referenced this pull request Mar 6, 2024
…ng calculated values into separate columns (LLNL#103)

* Changed percentiles.py to take in custom values, and split calulated values into seperate columns

* Updated doc string for function

* Updated percentile.py to pass black and flake8

* Updating percentile unit testing

* Updated formatting for unit testing

* code cleanup

* percentiles: add test for percentiles=None

---------

Co-authored-by: Stephanie Brink <[email protected]>
Yejashi pushed a commit to TauferLab/thicket that referenced this pull request Mar 6, 2024
…ng calculated values into separate columns (LLNL#103)

* Changed percentiles.py to take in custom values, and split calulated values into seperate columns

* Updated doc string for function

* Updated percentile.py to pass black and flake8

* Updating percentile unit testing

* Updated formatting for unit testing

* code cleanup

* percentiles: add test for percentiles=None

---------

Co-authored-by: Stephanie Brink <[email protected]>
Yejashi pushed a commit to TauferLab/thicket that referenced this pull request Mar 14, 2024
…ng calculated values into separate columns (LLNL#103)

* Changed percentiles.py to take in custom values, and split calulated values into seperate columns

* Updated doc string for function

* Updated percentile.py to pass black and flake8

* Updating percentile unit testing

* Updated formatting for unit testing

* code cleanup

* percentiles: add test for percentiles=None

---------

Co-authored-by: Stephanie Brink <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-stats Issues and PRs related to Thicket's stats subpackage priority-normal Normal priority issues and PRs status-ready-for-review This PR is ready to be reviewed by assigned reviewers type-bug Identifies bugs in issues and identifies bug fixes in PRs type-feature Requests for new features or PRs which implement new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants