def _validate_join_method(method):
    if method not in ['left', 'right', 'inner', 'outer']:
        raise ValueError('do not recognize join method %s' % method)
dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py/_validate_join_method/original