great_expectations.expectations.core.expect_select_column_values_to_be_unique_within_record
¶
Module Contents¶
Classes¶
|
Expect the values for each record to be unique across the columns listed. |
-
class
great_expectations.expectations.core.expect_select_column_values_to_be_unique_within_record.
ExpectSelectColumnValuesToBeUniqueWithinRecord
(configuration: Optional[ExpectationConfiguration] = None)¶ Bases:
great_expectations.expectations.expectation.MulticolumnMapExpectation
Expect the values for each record to be unique across the columns listed. Note that records can be duplicated.
For example:
A B C 1 1 2 Fail 1 2 3 Pass 8 2 7 Pass 1 2 3 Pass 4 4 4 Fail
- Parameters
column_list (tuple or list) – The column names to evaluate
- Keyword Arguments
ignore_row_if (str) – “all_values_are_missing”, “any_value_is_missing”, “never”
- Other Parameters
result_format (str or None) – Which output mode to use: BOOLEAN_ONLY, BASIC, COMPLETE, or SUMMARY.
include_config (boolean) – If True, then include the expectation config as part of the result object. catch_exceptions (boolean or None): If True, then catch exceptions and include them as part of the result object. meta (dict or None): A JSON-serializable dictionary (nesting allowed) that will be included in the output without modification.
- Returns
An ExpectationSuiteValidationResult
-
library_metadata
¶
-
map_metric
= select_column_values.unique.within_record¶
-
success_keys
= []¶
-
default_kwarg_values
¶
-
args_keys
= ['column_list']¶
-
classmethod
_atomic_prescriptive_template
(cls, configuration=None, result=None, language=None, runtime_configuration=None, **kwargs)¶ Template function that contains the logic that is shared by atomic.prescriptive.summary (GE Cloud) and renderer.prescriptive (OSS GE)
-
classmethod
_prescriptive_renderer
(cls, configuration=None, result=None, language=None, runtime_configuration=None, **kwargs)¶