@classmethod
    def _validate_axis(cls, axis=0):
        if (0, 'index', None) not in axis:
            raise ValueError('No axis named {0}'.format(axis))
        # convert to numeric axis
        return {None: 0, 'index': 0}.get(axis, axis)
dataset/ETHPy150Open dask/dask/dask/dataframe/core.py/Series._validate_axis/swapped operands of `not in`