def maybe_convert_ix(*args):
ixify = True<EOL>for arg in args:<EOL><INDENT>if not isinstance(arg, (np.ndarray, list, ABCSeries, Index)):<EOL><INDENT>ixify = False<EOL><DEDENT><DEDENT>if ixify:<EOL><INDENT>return np.ix_(*args)<EOL><DEDENT>else:<EOL><INDENT>return args<EOL><DEDENT>
We likely want to take the cross-product