def quote_remover(var):
    """ 
    Helper function for removing extra quotes from a variable in case it's a string.
    
    """
    if type(var) == str:
        # If string, replace quotes, strip spaces
        return var.replace("'", "").replace('"','').strip()
    else:
        # If not string, return input
        return