Skip to content

Add _statistics module containing _normal_dist_inv_cd#3256

Merged
youknowone merged 1 commit into
RustPython:mainfrom
aDotInTheVoid:stats
Apr 20, 2022
Merged

Add _statistics module containing _normal_dist_inv_cd#3256
youknowone merged 1 commit into
RustPython:mainfrom
aDotInTheVoid:stats

Conversation

@aDotInTheVoid

Copy link
Copy Markdown
Contributor

Closes #3251

Not sure if this needs a test, or if you run the python ones in Lib/test/test_statistics.py is enough

Comment thread stdlib/src/statistics.rs Outdated
@aDotInTheVoid aDotInTheVoid force-pushed the stats branch 2 times, most recently from ee9171a to 93e80c4 Compare October 9, 2021 12:45
@aDotInTheVoid

aDotInTheVoid commented Oct 9, 2021

Copy link
Copy Markdown
Contributor Author

In addition to that, no need to define function outside and then use super here.

I thing this is good as one function handles the stats, and the other handles the arg conversion and error.

The tests should now pass

Comment thread stdlib/src/statistics.rs Outdated
Comment thread stdlib/src/statistics.rs Outdated
Comment thread stdlib/src/statistics.rs Outdated
@aDotInTheVoid aDotInTheVoid force-pushed the stats branch 2 times, most recently from 3f0c9e3 to cab82c9 Compare October 11, 2021 00:31

@DimitrisJim DimitrisJim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm, I'll look into the CI failure, it seems completely unrelated.

@youknowone

Copy link
Copy Markdown
Member

@DimitrisJim how this one has going? is this need to be rebased?

@fanninpm

Copy link
Copy Markdown
Contributor

Sorry, I forgot that this PR existed when I trampled on it with #3552.

@youknowone

Copy link
Copy Markdown
Member

This version is better structured than current version. I rebased this version on the main branch.

@youknowone youknowone merged commit cfb3505 into RustPython:main Apr 20, 2022
@youknowone

Copy link
Copy Markdown
Member

@aDotInTheVoid I am sorry for making you wait for this for so long time. I didn't know this is untracked.

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.

Add _statistics module containing _normal_dist_inv_cdf

4 participants