ENH: enable y to only implement the array interface

For instance y could be a pandas' dataframe
FIX 0.15.X-style fix to make the NotAnArray test pass