openml/datasets/functions.py
def list_qualities() -> List[str]:
    """ Return list of data qualities available.

    The function performs an API call to retrieve the entire list of
    data qualities that are computed on the datasets uploaded.

    Returns
    -------
    list
    """
    api_call = "data/qualities/list"
    xml_string = openml._api_calls._perform_api_call(api_call, "get")
    qualities = xmltodict.parse(xml_string, force_list=("oml:quality"))
    # Minimalistic check if the XML is useful
    if "oml:data_qualities_list" not in qualities:
        raise ValueError("Error in return XML, does not contain " '"oml:data_qualities_list"')
    if not isinstance(qualities["oml:data_qualities_list"]["oml:quality"], list):
        raise TypeError("Error in return XML, does not contain " '"oml:quality" as a list')
    qualities = qualities["oml:data_qualities_list"]["oml:quality"]
    return qualities
 Return list of data qualities available.

    The function performs an API call to retrieve the entire list of
    data qualities that are computed on the datasets uploaded.

    Returns
    -------
    list
    
Return list of data qualities available.
The function performs an API call to retrieve the entire list of
data qualities that are computed on the datasets uploaded.

Returns

list
Return list of data qualities available . The function performs an API call to retrieve the entire list of data qualities that are computed on the datasets uploaded . Returns list
def list_qualities() -> List[str]:
    api_call = "data/qualities/list"
    xml_string = openml._api_calls._perform_api_call(api_call, "get")
    qualities = xmltodict.parse(xml_string, force_list=("oml:quality"))
    if "oml:data_qualities_list" not in qualities:
        raise ValueError("Error in return XML, does not contain " '"oml:data_qualities_list"')
    if not isinstance(qualities["oml:data_qualities_list"]["oml:quality"], list):
        raise TypeError("Error in return XML, does not contain " '"oml:quality" as a list')
    qualities = qualities["oml:data_qualities_list"]["oml:quality"]
    return qualities
def list_qualities ( ) -> List [ str ] : api_call = "data/qualities/list" xml_string = openml . _api_calls . _perform_api_call ( api_call , "get" ) qualities = xmltodict . parse ( xml_string , force_list = ( "oml:quality" ) ) if "oml:data_qualities_list" not in qualities : raise ValueError ( "Error in return XML, does not contain " '"oml:data_qualities_list"' ) if not isinstance ( qualities [ "oml:data_qualities_list" ] [ "oml:quality" ] , list ) : raise TypeError ( "Error in return XML, does not contain " '"oml:quality" as a list' ) qualities = qualities [ "oml:data_qualities_list" ] [ "oml:quality" ] return qualities
Return list of data qualities available.
Return list of data qualities available .
""" Return list of data qualities available.

    The function performs an API call to retrieve the entire list of
    data qualities that are computed on the datasets uploaded.

    Returns
    -------
    list
    """ # Minimalistic check if the XML is useful