(data)
return items
Return an :obj:`OrderedDict` with a brief description of data.

    Description contains keys "Data instances" with the number of instances,
    "Features" and "Meta attributes" with the corresponding numbers, and
    "Targets", which contains a name, if there is a single target, or the
    number of targets if there are multiple.

    :param data: data
    :type data: Orange.data.Table
    :rtype: OrderedDict
Return an :obj:`OrderedDict` with a brief description of data.
Return an : obj : OrderedDict with a brief description of data .
def describe_data_brief(data):
    """
    Return an :obj:`OrderedDict` with a brief description of data.

    Description contains keys "Data instances" with the number of instances,
    "Features" and "Meta attributes" with the corresponding numbers, and
    "Targets", which contains a name, if there is a single target, or the
    number of targets if there are multiple.

    :param data: data
    :type data: Orange.data.Table
    :rtype: OrderedDict
    """
    items = OrderedDict()
    if data is None:
        return items
    if isinstance(data, SqlTable):
        items["Data instances"] = data.approx_len()
    else:
        items["Data instances"] = len(data)
    items.update(describe_domain_brief(data.domain))
    return items
def describe_data_brief ( data ) : items = OrderedDict ( ) if data is None : return items if isinstance ( data , SqlTable ) : items [ "Data instances" ] = data . approx_len ( ) else : items [ "Data instances" ] = len ( data ) items . update ( describe_domain_brief ( data . domain ) ) return items