ColumnNameSummary

class ColumnNameSummary(name='')[source]

Summarize the unique column names in a dataset.

Methods

ColumnNameSummary.__init__([name])

ColumnNameSummary.get_summary([as_json])

Return summary as an object or in JSON.

ColumnNameSummary.update(name, columns)

Update the summary based on columns associated with a file.

ColumnNameSummary.update_headers(column_names)

Update the unique combinations of column names.

Attributes

ColumnNameSummary.__init__(name='')[source]
ColumnNameSummary.get_summary(as_json=False)[source]

Return summary as an object or in JSON.

Parameters:

as_json (bool) – If False (the default), return the underlying summary object, otherwise transform to JSON.

ColumnNameSummary.update(name, columns)[source]

Update the summary based on columns associated with a file.

Parameters:
  • name (str) – File name associated with the columns.

  • columns (list) – List of file names.

ColumnNameSummary.update_headers(column_names)[source]

Update the unique combinations of column names.

Parameters:

column_names (list) – List of column names to update.