def dshape_from_pandas(col):
    if isinstance(col.dtype, categorical):
        return Categorical(col.cat.categories.tolist())
    dshape = datashape.CType.from_numpy_dtype(col.dtype)
    dshape = string if dshape == object_ else dshape
    return Option(dshape) if possibly_missing in dshape else dshape
dataset/ETHPy150Open blaze/odo/odo/backends/pandas.py/dshape_from_pandas/swapped operands of `in`