def is_number(s):
    """
    Small function to check if a value is numeric
    """
    try:
        float(s)  # for int, long and float - not complex as complex also allows 'J' as number or unit
    except ValueError:
        return False
    return True