def _format_native_types(self, na_rep='', quoting=None, **kwargs):
        mask = isnull(self)
        if not self.is_object() and not quoting:
            values = np.asarray(self).astype(str)
        else:
            values = np.array(self, dtype=object, copy=True)

        values[mask] = na_rep
        return values
Handles logic operators.
dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py/Index._format_native_types--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_FilterCompilerHelper._HandleLogicOp