def env2human(action):
    """Needs because Gym env would only work with 0,1,2 as states
    but this is confusing as a human.

    We have:
    -1 == sell == 0 in env
    0 == hold == 1 in env
    1 == buy == 2 in env

    Parameters
    ----------
    int
        Action that the environment accepts

    Returns
    -------
    action : int
        Human readable action

    """
    return int(action - 1)