REF: Use nonzero in place of argwhere
Use nonzero to preserve 1d of Series

xref #31813


I think this is a better fix @jbrockmendel .  `argwhere` should not have been used it seems. LGTM pending green Great thanks @bashtage 