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

Backport 8018, BUG: Fixes return for np.ma.count if keepdims is True and axis is None #8020

Merged
merged 1 commit into from Sep 6, 2016

Commits on Sep 5, 2016

  1. BUG: Fixes return for np.ma.count if keepdims is True and axis is None

    The returned value is wrapped in an integer array of appropriate dimensions
    if keepdims is True and axis is None for np.ma.count.
    
    Also included:
    
    - Whitespace after "," (PEP8)
    - any instead of np.any when checking if any axis is out of bounds (performance)
    MSeifert04 authored and charris committed Sep 5, 2016
    Copy the full SHA
    824d010 View commit details
    Browse the repository at this point in the history