-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add type annotations to stats subpackage
#16562
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
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
3d978fa
bayesian_blocks: add type hints
jeffjennings fef6610
biweight: add type hints
jeffjennings 4fe13f1
circstats: add type hints
jeffjennings d0e6115
funcs: add type hints
jeffjennings 4d600bc
histogram: add type hints
jeffjennings 71b9785
info_theory: add type hints
jeffjennings 4fc59f6
jackknife: add type hints
jeffjennings 23cb0ad
sigma_clipping: add type hints
jeffjennings ba872e9
spatial: add type hints
jeffjennings d2bda2f
setup_package: add type hints
jeffjennings f709006
nitpick-exceptions: add ArrayLike type for sphinx
jeffjennings d15739a
stats changelog: type hint entry
jeffjennings 2eb31e8
bayesian_blocks.bayesian_blocks: restrict type
jeffjennings ac72cbd
bayesian_blocks.bayesian_blocks: better constrain type hint
jeffjennings 6768147
bayesian_blocks.FitnessFunc: better type hint
jeffjennings 234597c
bayesian_blocks: better constrain type hints
jeffjennings 53c7887
stats: TODO for future type hinting
jeffjennings 99b5907
biweight: add dtype to NDArray type hints
jeffjennings ecc10ee
spatial.RipleysKEstimator: add dtype to NDArray type hints
jeffjennings f961539
sigma_clipping.SigmaClip: add masked array dtype
jeffjennings 8b801dc
jackknife: add generic DType to NDArray type hints
jeffjennings 13ae78f
nitpick-exceptions: add np.ma.MaskedArray
jeffjennings e89377a
stats: type hint syntax for numpy float
jeffjennings aa1a082
docs: add typing entry to whatsnew
jeffjennings 50c447d
stats.funcs: type hint specify float
jeffjennings 6bee7da
stats.spatial: add private TypeAlias
jeffjennings af25b8e
stats.biweight._stat_functions: type hint
jeffjennings efc7e36
stats typing: update changelog entry to 'other'
jeffjennings 8628997
nitpick-exceptions: add np.floating
jeffjennings eb2b3e5
stats.spatial: add typing TODO
jeffjennings 72b3e7f
nitpick-exceptions: remove np.floating
jeffjennings 800a2b0
stats: NDArray type hint dtype
jeffjennings a909ff6
whatsnew: refine stats typing entry
jeffjennings f80d561
remove changelog entry
jeffjennings 1162447
Update 7.0.rst
pllim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.