ENH: Move any/all to NDFrame, support additional arguments for Series. GH8302
closes #8302
- Move any/all implementations from DataFrame to NDFrame, adding support for Series
- Special case single dimension case in NDFrame, to handle numpy.any/all specific arguments
- Add assorted NotImplementedErrors in cases where arguments are ignored (including in preexisting _reduce functions)
- Move the other any/all implementations from IndexOpsMixin to Index, outside of Series’ inheritance tree

Hi, here is the separate PR for the _reduce changes: https://github.com/pydata/pandas/pull/8592
 Ok, I think I've addressed the pending items.

Some tests are currently disabled pending merge of the _reduce changes I separated into the other PR.
 pls add a release note v0.15.1 (put in API section for now, though that's getting reorganized). This is not really an API change, more of an internal change.

pls rebase/squash and I'll have another look.
 Sure, there are some minor dependencies on the _reduce PR we've also been discussing (some tests are disabled). Since it sounds like we're closed to finishing up that PR, I'll plan to rebase/squash this one once the other is in master.
 @staple ideally I'd like to see a SINGLE any/all that goes in NDFrame AND Index (so we have argument consistency). This is tricky of course. because you have multi-dim objects. I think this CAN be done though.
 Ok, updated. Go ahead and take a look.
 Ok, I made the requested changes.
 @staple FYI this PR is really good. I am just being nit-picky! on some details.
 @jreback, sure no worries!
 can you fixup and rebase as discussed. e.g. remove _args,_*kwargs to Index funcs (and remove keep_dims tests). change test_logical_compat to test the functions are actually disabled on the various Indexes. thxs
 Ok, see new commit.
 Ok
 @staple thanks! This was a bigger rabbit hole, but you got it done!
