def get_number(s):
    """ Check that s is number
    
    In this plugin, heatmaps are created only for columns that contain numbers. This
    function checks to make sure an input value is able to be converted into a number.

    Inputs:
        s - An input string or number
    Outputs:
        value - Either float(s) or False if s cannot be cast to float
    """
    try:
        s = float(s)
        if s==float('-inf') or s==float('inf') or str(s)=='nan':
            return False
        else:
            return float(s)
    except ValueError:
        return False