def separatevars(expr, symbols=[], dict=False, force=False):
    expr = sympify(expr)
    if dict:
        return _separatevars_dict(_separatevars(expr, force), symbols)
    else:
        return _separatevars(expr, force)
Separates variables in an expression, if possible.  By
dataset/ETHPy150Open sympy/sympy/sympy/simplify/simplify.py/separatevars