woodwork.datatable.DataTable.describe_dict

DataTable.describe_dict(include=None)[source]

Calculates statistics for data contained in DataTable.

Parameters
  • include (list[str or LogicalType], optional) – filter for what columns to include in the

  • returned. Can be a list of columns (statistics) –

  • tags (semantic) –

  • types (logical) –

  • a list (or) –

  • any of the three. It follows the most broad specification. Favors logical types (combining) –

  • semantic tag then column name. If no matching columns are found (then) –

  • empty DataFrame (an) –

  • be returned. (will) –

Returns

A dictionary with a key for each column in the data or for each column matching the logical types, semantic tags or column names specified in include, paired with a value containing a dictionary containing relevant statistics for that column.

Return type

dict[str -> dict]