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([include_version, ...])

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

ColumnsInfo.from_config(conf[, version_unmatch])

Return check object from a CheckConfig object.

ColumnsInfo.from_json(conf[, version_unmatch])

Deserialize check instance from JSON string.

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.

ColumnsInfo.to_json([indent, ...])

Serialize check instance to JSON string.

Examples#