Skip to content

Adding np.nanmean(), nanstd(), and nanvar(), gh-3297 branched. #3416

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

Closed
wants to merge 6 commits into from

Conversation

charris
Copy link
Member

@charris charris commented Jun 9, 2013

This is PR #3297 put in a branch and resubmitted so it can be worked on. Needs some fixups which will follow.

WeatherGod and others added 6 commits June 24, 2013 15:40
New files lib/nanfunctions.py and lib/tests/test_nanfunctions.py are
added and both the previous and new nan functions and tests are moved
into them.

The existing nan functions moved from lib/function_base are:

    nansum, nanmin, nanmax, nanargmin, nanargmax

The added nan functions moved from core/numeric are:

    nanmean, nanvar, nanstd
Use issubclass instead of issubdtype.
Add some blank lines.
Remove trailing whitespace.
Remove uneeded float casts since true_divide is default.
Clean up documentation a bit.
@charris
Copy link
Member Author

charris commented Jun 24, 2013

Closing this until the work is more finished.

@charris charris closed this Jun 24, 2013
@charris charris deleted the branch-gh-3297 branch June 24, 2013 21:56
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.

2 participants