this is a really odd way to implement this, why are you not testing ``if np.isscalar`` first? further what is passed in here as an object, only an ``narray``/scalar right? AFAIK nothing else should ever be passed (be it a series/frame/panel).