ColumnsInfo#

class ColumnsInfo[source]#

Return the role and logical type of each column.

Parameters
n_top_columnsint , optional

amount of columns to show ordered by feature importance (date, index, label are first)

__init__(n_top_columns: int = 10, **kwargs)[source]#
__new__(*args, **kwargs)#

Methods

ColumnsInfo.add_condition(name, ...)

Add new condition function to the check.

ColumnsInfo.clean_conditions()

Remove all conditions from this check instance.

ColumnsInfo.conditions_decision(result)

Run conditions on given result.

ColumnsInfo.config()

Return check configuration (conditions' configuration not yet supported).

ColumnsInfo.from_config(conf)

Return check object from a CheckConfig object.

ColumnsInfo.metadata([with_doc_link])

Return check metadata.

ColumnsInfo.name()

Name of class in split camel case.

ColumnsInfo.params([show_defaults])

Return parameters to show when printing the check.

ColumnsInfo.remove_condition(index)

Remove given condition by index.

ColumnsInfo.run(dataset[, model, ...])

Run check.

ColumnsInfo.run_logic(context, dataset_kind)

Run check.

Examples#