policy.py
def safe_min_1d(array):
    """Useful for taking min arm index for some policies
    """
    if len(array) > 0:
        return np.min(array)
    else:
        return None
Useful for taking min arm index for some policies
    
Useful for taking min arm index for some policies
Useful for taking min arm index for some policies
def safe_min_1d(array):
    if len(array) > 0:
        return np.min(array)
    else:
        return None
def safe_min_1d ( array ) : if len ( array ) > 0 : return np . min ( array ) else : return None
Useful for taking min arm index for some policies
Useful for taking min arm index for some policies
"""Useful for taking min arm index for some policies
    """
array