Repository: great-expectations/great_expectations

Issue:
Use cleaner solution for non-truncating division in python 2
Prefer `from __future__ import division` to `1.*x/y`


Discussion:
Done inline during improve_partitions push.

Resolving patch:
diff --git a/great_expectations/render/renderer/v3/suite_profile_notebook_renderer.py b/great_expectations/render/renderer/v3/suite_profile_notebook_renderer.py
--- a/great_expectations/render/renderer/v3/suite_profile_notebook_renderer.py
+++ b/great_expectations/render/renderer/v3/suite_profile_notebook_renderer.py
@@ -289,7 +289,7 @@ def _add_onboarding_data_assistant_cells(self) -> None:
     # include_semantic_types=include_semantic_types,
     # exclude_semantic_types=exclude_semantic_types,
     # allowed_semantic_types_passthrough=allowed_semantic_types_passthrough,
-    # cardinality_limit_mode="rel_100",  # case-insensitive (see documentation for other options)
+    # cardinality_limit_mode="few",  # case-insensitive (see documentation for other options)
     # max_unique_values=max_unique_values,
     # max_proportion_unique=max_proportion_unique,
     # column_value_uniqueness_rule={
diff --git a/great_expectations/rule_based_profiler/data_assistant/volume_data_assistant.py b/great_expectations/rule_based_profiler/data_assistant/volume_data_assistant.py
--- a/great_expectations/rule_based_profiler/data_assistant/volume_data_assistant.py
+++ b/great_expectations/rule_based_profiler/data_assistant/volume_data_assistant.py
@@ -177,7 +177,7 @@ def _build_categorical_columns_rule() -> Rule:
                 include_semantic_types=None,
                 exclude_semantic_types=None,
                 allowed_semantic_types_passthrough=None,
-                cardinality_limit_mode=CardinalityLimitMode.REL_100,
+                cardinality_limit_mode=CardinalityLimitMode.FEW,
                 max_unique_values=None,
                 max_proportion_unique=None,
                 data_context=None,


Test patch:
diff --git a/tests/cli/test_suite.py b/tests/cli/test_suite.py
--- a/tests/cli/test_suite.py
+++ b/tests/cli/test_suite.py
@@ -59,7 +59,7 @@
     # include_semantic_types=include_semantic_types,
     # exclude_semantic_types=exclude_semantic_types,
     # allowed_semantic_types_passthrough=allowed_semantic_types_passthrough,
-    # cardinality_limit_mode="rel_100",  # case-insensitive (see documentation for other options)
+    # cardinality_limit_mode="few",  # case-insensitive (see documentation for other options)
     # max_unique_values=max_unique_values,
     # max_proportion_unique=max_proportion_unique,
     # column_value_uniqueness_rule={
diff --git a/tests/integration/docusaurus/expectations/data_assistants/how_to_create_an_expectation_suite_with_the_onboarding_data_assistant.py b/tests/integration/docusaurus/expectations/data_assistants/how_to_create_an_expectation_suite_with_the_onboarding_data_assistant.py
--- a/tests/integration/docusaurus/expectations/data_assistants/how_to_create_an_expectation_suite_with_the_onboarding_data_assistant.py
+++ b/tests/integration/docusaurus/expectations/data_assistants/how_to_create_an_expectation_suite_with_the_onboarding_data_assistant.py
@@ -118,7 +118,7 @@
     # include_semantic_types=include_semantic_types,
     # exclude_semantic_types=exclude_semantic_types,
     # allowed_semantic_types_passthrough=allowed_semantic_types_passthrough,
-    # cardinality_limit_mode="rel_100",  # case-insensitive (see documentation for other options)
+    # cardinality_limit_mode="few",  # case-insensitive (see documentation for other options)
     # max_unique_values=max_unique_values,
     # max_proportion_unique=max_proportion_unique,
     # column_value_uniqueness_rule={
diff --git a/tests/render/renderer/v3/test_suite_profile_notebook_renderer.py b/tests/render/renderer/v3/test_suite_profile_notebook_renderer.py
--- a/tests/render/renderer/v3/test_suite_profile_notebook_renderer.py
+++ b/tests/render/renderer/v3/test_suite_profile_notebook_renderer.py
@@ -95,7 +95,7 @@
     # include_semantic_types=include_semantic_types,
     # exclude_semantic_types=exclude_semantic_types,
     # allowed_semantic_types_passthrough=allowed_semantic_types_passthrough,
-    # cardinality_limit_mode="rel_100",  # case-insensitive (see documentation for other options)
+    # cardinality_limit_mode="few",  # case-insensitive (see documentation for other options)
     # max_unique_values=max_unique_values,
     # max_proportion_unique=max_proportion_unique,
     # column_value_uniqueness_rule={
diff --git a/tests/rule_based_profiler/data_assistant/test_volume_data_assistant.py b/tests/rule_based_profiler/data_assistant/test_volume_data_assistant.py
--- a/tests/rule_based_profiler/data_assistant/test_volume_data_assistant.py
+++ b/tests/rule_based_profiler/data_assistant/test_volume_data_assistant.py
@@ -137,206 +137,6 @@ def quentin_expected_metrics_by_domain() -> Dict[Domain, Dict[str, Any]]:
                 },
             }
         },
-        Domain(
-            domain_type=MetricDomainTypes.COLUMN,
-            domain_kwargs={
-                "column": "pickup_datetime",
-            },
-            details={
-                INFERRED_SEMANTIC_TYPE_KEY: {
-                    "pickup_datetime": SemanticDomainTypes.TEXT,
-                },
-            },
-            rule_name="categorical_columns_rule",
-        ): {
-            "$parameter.column_distinct_values_count": {
-                "value": [
-                    9979,
-                    9965,
-                    9974,
-                    9979,
-                    9976,
-                    9980,
-                    9983,
-                    9974,
-                    9974,
-                    9968,
-                    9972,
-                    9977,
-                    9973,
-                    9977,
-                    9976,
-                    9984,
-                    9977,
-                    9970,
-                    9977,
-                    9975,
-                    9976,
-                    9981,
-                    9973,
-                    9976,
-                    9982,
-                    9981,
-                    9945,
-                    9955,
-                    9941,
-                    9953,
-                    9973,
-                    9955,
-                    9962,
-                    9970,
-                    9977,
-                    9969,
-                ],
-                "attributed_value": {
-                    "c92d0679f769ac83fef2bb5eaac5d12a": [9979],
-                    "562969eaef9c843cb4531aecbc13bbcb": [9965],
-                    "569a4a80bf434c888593c651dbf2f157": [9974],
-                    "f6c389dcef63c1f214c30f66b66945c0": [9979],
-                    "c4fe9afce1cf3e83eb8518a9f5abc754": [9976],
-                    "e20c38f98b9830a40b851939ca7189d4": [9980],
-                    "f2e4d3da6556638b55df8ce509b094c2": [9983],
-                    "44c1b1947c9049e7db62c5320dde4c63": [9974],
-                    "47157bdaf05a7992473cd699cabaef74": [9974],
-                    "08085632aff9ce4cebbb8023049e1aec": [9968],
-                    "bb54e4fa3906387218be10cff631a7c2": [9972],
-                    "58ce3b40d384eacd9bad7d916eb8f705": [9977],
-                    "0327cfb13205ec8512e1c28e438ab43b": [9973],
-                    "0808e185a52825d22356de2fe00a8f5f": [9977],
-                    "90bb41c1fbd7c71c05dbc8695320af71": [9976],
-                    "6c7e43619fe5e6963e8159cc84a28321": [9984],
-                    "976b121b46db6967854b9c1a6628396b": [9977],
-                    "9e58d3c72c7006b6f5800b623fbc9818": [9970],
-                    "ce5f02ac408b7b5c500050190f549736": [9977],
-                    "bb81456ec79522bf02f34b02762f95e0": [9975],
-                    "b20800a7faafd2808d6c888577a2ba1d": [9976],
-                    "33d910f95326c0c7dfe7536d1cfeba51": [9981],
-                    "61e4931d87cb627df2a19b8bc5819b7b": [9973],
-                    "3692b23382fd4734215465251290c65b": [9976],
-                    "eff8910cddcdff62e4741243099240d5": [9982],
-                    "f67d274202366f6b976414c950ca14bd": [9981],
-                    "7b3ce20a8e8cf3097bb9df270a7ae63a": [9945],
-                    "73612fdabd337d5a8279acc30ce22d00": [9955],
-                    "ad2ad2a70c3e0bf94ddef3f893e92291": [9941],
-                    "8ce0d477f610ea18e2ea4fbbb46de857": [9953],
-                    "ff5a6cc031dd2c98b8bccd4766af38c1": [9973],
-                    "940576153c66af14a949fd19aedd5f5b": [9955],
-                    "ab05b4fb82e37c8cf5b1ac40d0a37fe9": [9962],
-                    "57c04d62ada3a102248b48f34c755159": [9970],
-                    "816b147dcf3305839f723a131b9ad6af": [9977],
-                    "84000630d1b69a0fe870c94fb26a32bc": [9969],
-                },
-                "details": {
-                    "metric_configuration": {
-                        "metric_name": "column.distinct_values.count",
-                        "domain_kwargs": {"column": "pickup_datetime"},
-                        "metric_value_kwargs": None,
-                        "metric_dependencies": None,
-                    },
-                    "num_batches": 36,
-                },
-            }
-        },
-        Domain(
-            domain_type=MetricDomainTypes.COLUMN,
-            domain_kwargs={
-                "column": "dropoff_datetime",
-            },
-            details={
-                INFERRED_SEMANTIC_TYPE_KEY: {
-                    "dropoff_datetime": SemanticDomainTypes.TEXT,
-                },
-            },
-            rule_name="categorical_columns_rule",
-        ): {
-            "$parameter.column_distinct_values_count": {
-                "value": [
-                    9979,
-                    9977,
-                    9972,
-                    9979,
-                    9984,
-                    9977,
-                    9985,
-                    9977,
-                    9971,
-                    9976,
-                    9975,
-                    9972,
-                    9972,
-                    9967,
-                    9973,
-                    9976,
-                    9986,
-                    9982,
-                    9982,
-                    9978,
-                    9974,
-                    9984,
-                    9977,
-                    9975,
-                    9975,
-                    9973,
-                    9968,
-                    9964,
-                    9939,
-                    9965,
-                    9966,
-                    9978,
-                    9970,
-                    9967,
-                    9976,
-                    9971,
-                ],
-                "attributed_value": {
-                    "c92d0679f769ac83fef2bb5eaac5d12a": [9979],
-                    "562969eaef9c843cb4531aecbc13bbcb": [9977],
-                    "569a4a80bf434c888593c651dbf2f157": [9972],
-                    "f6c389dcef63c1f214c30f66b66945c0": [9979],
-                    "c4fe9afce1cf3e83eb8518a9f5abc754": [9984],
-                    "e20c38f98b9830a40b851939ca7189d4": [9977],
-                    "f2e4d3da6556638b55df8ce509b094c2": [9985],
-                    "44c1b1947c9049e7db62c5320dde4c63": [9977],
-                    "47157bdaf05a7992473cd699cabaef74": [9971],
-                    "08085632aff9ce4cebbb8023049e1aec": [9976],
-                    "bb54e4fa3906387218be10cff631a7c2": [9975],
-                    "58ce3b40d384eacd9bad7d916eb8f705": [9972],
-                    "0327cfb13205ec8512e1c28e438ab43b": [9972],
-                    "0808e185a52825d22356de2fe00a8f5f": [9967],
-                    "90bb41c1fbd7c71c05dbc8695320af71": [9973],
-                    "6c7e43619fe5e6963e8159cc84a28321": [9976],
-                    "976b121b46db6967854b9c1a6628396b": [9986],
-                    "9e58d3c72c7006b6f5800b623fbc9818": [9982],
-                    "ce5f02ac408b7b5c500050190f549736": [9982],
-                    "bb81456ec79522bf02f34b02762f95e0": [9978],
-                    "b20800a7faafd2808d6c888577a2ba1d": [9974],
-                    "33d910f95326c0c7dfe7536d1cfeba51": [9984],
-                    "61e4931d87cb627df2a19b8bc5819b7b": [9977],
-                    "3692b23382fd4734215465251290c65b": [9975],
-                    "eff8910cddcdff62e4741243099240d5": [9975],
-                    "f67d274202366f6b976414c950ca14bd": [9973],
-                    "7b3ce20a8e8cf3097bb9df270a7ae63a": [9968],
-                    "73612fdabd337d5a8279acc30ce22d00": [9964],
-                    "ad2ad2a70c3e0bf94ddef3f893e92291": [9939],
-                    "8ce0d477f610ea18e2ea4fbbb46de857": [9965],
-                    "ff5a6cc031dd2c98b8bccd4766af38c1": [9966],
-                    "940576153c66af14a949fd19aedd5f5b": [9978],
-                    "ab05b4fb82e37c8cf5b1ac40d0a37fe9": [9970],
-                    "57c04d62ada3a102248b48f34c755159": [9967],
-                    "816b147dcf3305839f723a131b9ad6af": [9976],
-                    "84000630d1b69a0fe870c94fb26a32bc": [9971],
-                },
-                "details": {
-                    "metric_configuration": {
-                        "metric_name": "column.distinct_values.count",
-                        "domain_kwargs": {"column": "dropoff_datetime"},
-                        "metric_value_kwargs": None,
-                        "metric_dependencies": None,
-                    },
-                    "num_batches": 36,
-                },
-            }
-        },
         Domain(
             domain_type=MetricDomainTypes.COLUMN,
             domain_kwargs={
@@ -437,106 +237,6 @@ def quentin_expected_metrics_by_domain() -> Dict[Domain, Dict[str, Any]]:
                 },
             }
         },
-        Domain(
-            domain_type=MetricDomainTypes.COLUMN,
-            domain_kwargs={
-                "column": "trip_distance",
-            },
-            details={
-                INFERRED_SEMANTIC_TYPE_KEY: {
-                    "trip_distance": SemanticDomainTypes.NUMERIC,
-                },
-            },
-            rule_name="categorical_columns_rule",
-        ): {
-            "$parameter.column_distinct_values_count": {
-                "value": [
-                    1157,
-                    1141,
-                    1165,
-                    1176,
-                    1202,
-                    1202,
-                    1227,
-                    1252,
-                    1236,
-                    1192,
-                    1212,
-                    1206,
-                    1184,
-                    1200,
-                    1225,
-                    1240,
-                    1222,
-                    1266,
-                    1299,
-                    1293,
-                    1310,
-                    1279,
-                    1230,
-                    1249,
-                    1228,
-                    1190,
-                    1253,
-                    1273,
-                    1560,
-                    1430,
-                    1371,
-                    1319,
-                    1207,
-                    1188,
-                    1204,
-                    1196,
-                ],
-                "attributed_value": {
-                    "c92d0679f769ac83fef2bb5eaac5d12a": [1157],
-                    "562969eaef9c843cb4531aecbc13bbcb": [1141],
-                    "569a4a80bf434c888593c651dbf2f157": [1165],
-                    "f6c389dcef63c1f214c30f66b66945c0": [1176],
-                    "c4fe9afce1cf3e83eb8518a9f5abc754": [1202],
-                    "e20c38f98b9830a40b851939ca7189d4": [1202],
-                    "f2e4d3da6556638b55df8ce509b094c2": [1227],
-                    "44c1b1947c9049e7db62c5320dde4c63": [1252],
-                    "47157bdaf05a7992473cd699cabaef74": [1236],
-                    "08085632aff9ce4cebbb8023049e1aec": [1192],
-                    "bb54e4fa3906387218be10cff631a7c2": [1212],
-                    "58ce3b40d384eacd9bad7d916eb8f705": [1206],
-                    "0327cfb13205ec8512e1c28e438ab43b": [1184],
-                    "0808e185a52825d22356de2fe00a8f5f": [1200],
-                    "90bb41c1fbd7c71c05dbc8695320af71": [1225],
-                    "6c7e43619fe5e6963e8159cc84a28321": [1240],
-                    "976b121b46db6967854b9c1a6628396b": [1222],
-                    "9e58d3c72c7006b6f5800b623fbc9818": [1266],
-                    "ce5f02ac408b7b5c500050190f549736": [1299],
-                    "bb81456ec79522bf02f34b02762f95e0": [1293],
-                    "b20800a7faafd2808d6c888577a2ba1d": [1310],
-                    "33d910f95326c0c7dfe7536d1cfeba51": [1279],
-                    "61e4931d87cb627df2a19b8bc5819b7b": [1230],
-                    "3692b23382fd4734215465251290c65b": [1249],
-                    "eff8910cddcdff62e4741243099240d5": [1228],
-                    "f67d274202366f6b976414c950ca14bd": [1190],
-                    "7b3ce20a8e8cf3097bb9df270a7ae63a": [1253],
-                    "73612fdabd337d5a8279acc30ce22d00": [1273],
-                    "ad2ad2a70c3e0bf94ddef3f893e92291": [1560],
-                    "8ce0d477f610ea18e2ea4fbbb46de857": [1430],
-                    "ff5a6cc031dd2c98b8bccd4766af38c1": [1371],
-                    "940576153c66af14a949fd19aedd5f5b": [1319],
-                    "ab05b4fb82e37c8cf5b1ac40d0a37fe9": [1207],
-                    "57c04d62ada3a102248b48f34c755159": [1188],
-                    "816b147dcf3305839f723a131b9ad6af": [1204],
-                    "84000630d1b69a0fe870c94fb26a32bc": [1196],
-                },
-                "details": {
-                    "metric_configuration": {
-                        "metric_name": "column.distinct_values.count",
-                        "domain_kwargs": {"column": "trip_distance"},
-                        "metric_value_kwargs": None,
-                        "metric_dependencies": None,
-                    },
-                    "num_batches": 36,
-                },
-            }
-        },
         Domain(
             domain_type=MetricDomainTypes.COLUMN,
             domain_kwargs={
@@ -737,106 +437,6 @@ def quentin_expected_metrics_by_domain() -> Dict[Domain, Dict[str, Any]]:
                 },
             }
         },
-        Domain(
-            domain_type=MetricDomainTypes.COLUMN,
-            domain_kwargs={
-                "column": "fare_amount",
-            },
-            details={
-                INFERRED_SEMANTIC_TYPE_KEY: {
-                    "fare_amount": SemanticDomainTypes.NUMERIC,
-                },
-            },
-            rule_name="categorical_columns_rule",
-        ): {
-            "$parameter.column_distinct_values_count": {
-                "value": [
-                    153,
-                    148,
-                    161,
-                    156,
-                    153,
-                    161,
-                    168,
-                    176,
-                    169,
-                    170,
-                    199,
-                    184,
-                    187,
-                    201,
-                    202,
-                    178,
-                    170,
-                    184,
-                    238,
-                    253,
-                    248,
-                    246,
-                    246,
-                    252,
-                    259,
-                    267,
-                    296,
-                    797,
-                    1500,
-                    813,
-                    575,
-                    575,
-                    571,
-                    568,
-                    552,
-                    588,
-                ],
-                "attributed_value": {
-                    "c92d0679f769ac83fef2bb5eaac5d12a": [153],
-                    "562969eaef9c843cb4531aecbc13bbcb": [148],
-                    "569a4a80bf434c888593c651dbf2f157": [161],
-                    "f6c389dcef63c1f214c30f66b66945c0": [156],
-                    "c4fe9afce1cf3e83eb8518a9f5abc754": [153],
-                    "e20c38f98b9830a40b851939ca7189d4": [161],
-                    "f2e4d3da6556638b55df8ce509b094c2": [168],
-                    "44c1b1947c9049e7db62c5320dde4c63": [176],
-                    "47157bdaf05a7992473cd699cabaef74": [169],
-                    "08085632aff9ce4cebbb8023049e1aec": [170],
-                    "bb54e4fa3906387218be10cff631a7c2": [199],
-                    "58ce3b40d384eacd9bad7d916eb8f705": [184],
-                    "0327cfb13205ec8512e1c28e438ab43b": [187],
-                    "0808e185a52825d22356de2fe00a8f5f": [201],
-                    "90bb41c1fbd7c71c05dbc8695320af71": [202],
-                    "6c7e43619fe5e6963e8159cc84a28321": [178],
-                    "976b121b46db6967854b9c1a6628396b": [170],
-                    "9e58d3c72c7006b6f5800b623fbc9818": [184],
-                    "ce5f02ac408b7b5c500050190f549736": [238],
-                    "bb81456ec79522bf02f34b02762f95e0": [253],
-                    "b20800a7faafd2808d6c888577a2ba1d": [248],
-                    "33d910f95326c0c7dfe7536d1cfeba51": [246],
-                    "61e4931d87cb627df2a19b8bc5819b7b": [246],
-                    "3692b23382fd4734215465251290c65b": [252],
-                    "eff8910cddcdff62e4741243099240d5": [259],
-                    "f67d274202366f6b976414c950ca14bd": [267],
-                    "7b3ce20a8e8cf3097bb9df270a7ae63a": [296],
-                    "73612fdabd337d5a8279acc30ce22d00": [797],
-                    "ad2ad2a70c3e0bf94ddef3f893e92291": [1500],
-                    "8ce0d477f610ea18e2ea4fbbb46de857": [813],
-                    "ff5a6cc031dd2c98b8bccd4766af38c1": [575],
-                    "940576153c66af14a949fd19aedd5f5b": [575],
-                    "ab05b4fb82e37c8cf5b1ac40d0a37fe9": [571],
-                    "57c04d62ada3a102248b48f34c755159": [568],
-                    "816b147dcf3305839f723a131b9ad6af": [552],
-                    "84000630d1b69a0fe870c94fb26a32bc": [588],
-                },
-                "details": {
-                    "metric_configuration": {
-                        "metric_name": "column.distinct_values.count",
-                        "domain_kwargs": {"column": "fare_amount"},
-                        "metric_value_kwargs": None,
-                        "metric_dependencies": None,
-                    },
-                    "num_batches": 36,
-                },
-            }
-        },
         Domain(
             domain_type=MetricDomainTypes.COLUMN,
             domain_kwargs={
@@ -1037,106 +637,6 @@ def quentin_expected_metrics_by_domain() -> Dict[Domain, Dict[str, Any]]:
                 },
             }
         },
-        Domain(
-            domain_type=MetricDomainTypes.COLUMN,
-            domain_kwargs={
-                "column": "tip_amount",
-            },
-            details={
-                INFERRED_SEMANTIC_TYPE_KEY: {
-                    "tip_amount": SemanticDomainTypes.NUMERIC,
-                },
-            },
-            rule_name="categorical_columns_rule",
-        ): {
-            "$parameter.column_distinct_values_count": {
-                "value": [
-                    532,
-                    530,
-                    539,
-                    573,
-                    574,
-                    559,
-                    557,
-                    567,
-                    576,
-                    555,
-                    600,
-                    601,
-                    535,
-                    597,
-                    601,
-                    596,
-                    612,
-                    606,
-                    579,
-                    595,
-                    608,
-                    591,
-                    599,
-                    606,
-                    572,
-                    576,
-                    560,
-                    469,
-                    466,
-                    558,
-                    539,
-                    530,
-                    503,
-                    505,
-                    515,
-                    522,
-                ],
-                "attributed_value": {
-                    "c92d0679f769ac83fef2bb5eaac5d12a": [532],
-                    "562969eaef9c843cb4531aecbc13bbcb": [530],
-                    "569a4a80bf434c888593c651dbf2f157": [539],
-                    "f6c389dcef63c1f214c30f66b66945c0": [573],
-                    "c4fe9afce1cf3e83eb8518a9f5abc754": [574],
-                    "e20c38f98b9830a40b851939ca7189d4": [559],
-                    "f2e4d3da6556638b55df8ce509b094c2": [557],
-                    "44c1b1947c9049e7db62c5320dde4c63": [567],
-                    "47157bdaf05a7992473cd699cabaef74": [576],
-                    "08085632aff9ce4cebbb8023049e1aec": [555],
-                    "bb54e4fa3906387218be10cff631a7c2": [600],
-                    "58ce3b40d384eacd9bad7d916eb8f705": [601],
-                    "0327cfb13205ec8512e1c28e438ab43b": [535],
-                    "0808e185a52825d22356de2fe00a8f5f": [597],
-                    "90bb41c1fbd7c71c05dbc8695320af71": [601],
-                    "6c7e43619fe5e6963e8159cc84a28321": [596],
-                    "976b121b46db6967854b9c1a6628396b": [612],
-                    "9e58d3c72c7006b6f5800b623fbc9818": [606],
-                    "ce5f02ac408b7b5c500050190f549736": [579],
-                    "bb81456ec79522bf02f34b02762f95e0": [595],
-                    "b20800a7faafd2808d6c888577a2ba1d": [608],
-                    "33d910f95326c0c7dfe7536d1cfeba51": [591],
-                    "61e4931d87cb627df2a19b8bc5819b7b": [599],
-                    "3692b23382fd4734215465251290c65b": [606],
-                    "eff8910cddcdff62e4741243099240d5": [572],
-                    "f67d274202366f6b976414c950ca14bd": [576],
-                    "7b3ce20a8e8cf3097bb9df270a7ae63a": [560],
-                    "73612fdabd337d5a8279acc30ce22d00": [469],
-                    "ad2ad2a70c3e0bf94ddef3f893e92291": [466],
-                    "8ce0d477f610ea18e2ea4fbbb46de857": [558],
-                    "ff5a6cc031dd2c98b8bccd4766af38c1": [539],
-                    "940576153c66af14a949fd19aedd5f5b": [530],
-                    "ab05b4fb82e37c8cf5b1ac40d0a37fe9": [503],
-                    "57c04d62ada3a102248b48f34c755159": [505],
-                    "816b147dcf3305839f723a131b9ad6af": [515],
-                    "84000630d1b69a0fe870c94fb26a32bc": [522],
-                },
-                "details": {
-                    "metric_configuration": {
-                        "metric_name": "column.distinct_values.count",
-                        "domain_kwargs": {"column": "tip_amount"},
-                        "metric_value_kwargs": None,
-                        "metric_dependencies": None,
-                    },
-                    "num_batches": 36,
-                },
-            }
-        },
         Domain(
             domain_type=MetricDomainTypes.COLUMN,
             domain_kwargs={
@@ -1337,106 +837,6 @@ def quentin_expected_metrics_by_domain() -> Dict[Domain, Dict[str, Any]]:
                 },
             }
         },
-        Domain(
-            domain_type=MetricDomainTypes.COLUMN,
-            domain_kwargs={
-                "column": "total_amount",
-            },
-            details={
-                INFERRED_SEMANTIC_TYPE_KEY: {
-                    "total_amount": SemanticDomainTypes.NUMERIC,
-                },
-            },
-            rule_name="categorical_columns_rule",
-        ): {
-            "$parameter.column_distinct_values_count": {
-                "value": [
-                    898,
-                    884,
-                    905,
-                    942,
-                    953,
-                    945,
-                    969,
-                    966,
-                    973,
-                    972,
-                    1043,
-                    1000,
-                    942,
-                    1016,
-                    1016,
-                    1012,
-                    1026,
-                    1044,
-                    1047,
-                    1077,
-                    1073,
-                    1070,
-                    1068,
-                    1060,
-                    1037,
-                    1036,
-                    1060,
-                    1387,
-                    2018,
-                    1440,
-                    1154,
-                    1153,
-                    1154,
-                    1161,
-                    1154,
-                    1164,
-                ],
-                "attributed_value": {
-                    "c92d0679f769ac83fef2bb5eaac5d12a": [898],
-                    "562969eaef9c843cb4531aecbc13bbcb": [884],
-                    "569a4a80bf434c888593c651dbf2f157": [905],
-                    "f6c389dcef63c1f214c30f66b66945c0": [942],
-                    "c4fe9afce1cf3e83eb8518a9f5abc754": [953],
-                    "e20c38f98b9830a40b851939ca7189d4": [945],
-                    "f2e4d3da6556638b55df8ce509b094c2": [969],
-                    "44c1b1947c9049e7db62c5320dde4c63": [966],
-                    "47157bdaf05a7992473cd699cabaef74": [973],
-                    "08085632aff9ce4cebbb8023049e1aec": [972],
-                    "bb54e4fa3906387218be10cff631a7c2": [1043],
-                    "58ce3b40d384eacd9bad7d916eb8f705": [1000],
-                    "0327cfb13205ec8512e1c28e438ab43b": [942],
-                    "0808e185a52825d22356de2fe00a8f5f": [1016],
-                    "90bb41c1fbd7c71c05dbc8695320af71": [1016],
-                    "6c7e43619fe5e6963e8159cc84a28321": [1012],
-                    "976b121b46db6967854b9c1a6628396b": [1026],
-                    "9e58d3c72c7006b6f5800b623fbc9818": [1044],
-                    "ce5f02ac408b7b5c500050190f549736": [1047],
-                    "bb81456ec79522bf02f34b02762f95e0": [1077],
-                    "b20800a7faafd2808d6c888577a2ba1d": [1073],
-                    "33d910f95326c0c7dfe7536d1cfeba51": [1070],
-                    "61e4931d87cb627df2a19b8bc5819b7b": [1068],
-                    "3692b23382fd4734215465251290c65b": [1060],
-                    "eff8910cddcdff62e4741243099240d5": [1037],
-                    "f67d274202366f6b976414c950ca14bd": [1036],
-                    "7b3ce20a8e8cf3097bb9df270a7ae63a": [1060],
-                    "73612fdabd337d5a8279acc30ce22d00": [1387],
-                    "ad2ad2a70c3e0bf94ddef3f893e92291": [2018],
-                    "8ce0d477f610ea18e2ea4fbbb46de857": [1440],
-                    "ff5a6cc031dd2c98b8bccd4766af38c1": [1154],
-                    "940576153c66af14a949fd19aedd5f5b": [1153],
-                    "ab05b4fb82e37c8cf5b1ac40d0a37fe9": [1154],
-                    "57c04d62ada3a102248b48f34c755159": [1161],
-                    "816b147dcf3305839f723a131b9ad6af": [1154],
-                    "84000630d1b69a0fe870c94fb26a32bc": [1164],
-                },
-                "details": {
-                    "metric_configuration": {
-                        "metric_name": "column.distinct_values.count",
-                        "domain_kwargs": {"column": "total_amount"},
-                        "metric_value_kwargs": None,
-                        "metric_dependencies": None,
-                    },
-                    "num_batches": 36,
-                },
-            }
-        },
         Domain(
             domain_type=MetricDomainTypes.COLUMN,
             domain_kwargs={
@@ -1646,9 +1046,9 @@ def _profiler_config(
                         "allowed_semantic_types_passthrough": ["logic"],
                         "class_name": "CategoricalColumnDomainBuilder",
                         "cardinality_limit_mode": {
-                            "name": "REL_100",
-                            "max_proportion_unique": 1.0,
-                            "metric_name_defining_limit": "column.unique_proportion",
+                            "name": "FEW",
+                            "max_unique_values": 100,
+                            "metric_name_defining_limit": "column.distinct_values.count",
                         },
                         "module_name": "great_expectations.rule_based_profiler.domain_builder.categorical_column_domain_builder",
                         "exclude_column_names": sorted(
@@ -1758,52 +1158,6 @@ def _expectation_suite(name: str) -> ExpectationSuite:
         expected_expect_column_unique_value_count_to_be_between_expectation_configuration_list: List[
             ExpectationConfiguration
         ] = [
-            ExpectationConfiguration(
-                **{
-                    "meta": {
-                        "profiler_details": {
-                            "metric_configuration": {
-                                "metric_name": "column.distinct_values.count",
-                                "domain_kwargs": {"column": "pickup_datetime"},
-                                "metric_value_kwargs": None,
-                                "metric_dependencies": None,
-                            },
-                            "num_batches": 36,
-                        }
-                    },
-                    "expectation_type": "expect_column_unique_value_count_to_be_between",
-                    "kwargs": {
-                        "strict_max": False,
-                        "max_value": 9983,
-                        "strict_min": False,
-                        "column": "pickup_datetime",
-                        "min_value": 9945,
-                    },
-                }
-            ),
-            ExpectationConfiguration(
-                **{
-                    "meta": {
-                        "profiler_details": {
-                            "metric_configuration": {
-                                "metric_name": "column.distinct_values.count",
-                                "domain_kwargs": {"column": "dropoff_datetime"},
-                                "metric_value_kwargs": None,
-                                "metric_dependencies": None,
-                            },
-                            "num_batches": 36,
-                        }
-                    },
-                    "expectation_type": "expect_column_unique_value_count_to_be_between",
-                    "kwargs": {
-                        "strict_max": False,
-                        "max_value": 9985,
-                        "strict_min": False,
-                        "column": "dropoff_datetime",
-                        "min_value": 9958,
-                    },
-                }
-            ),
             ExpectationConfiguration(
                 **{
                     "meta": {
@@ -1827,29 +1181,6 @@ def _expectation_suite(name: str) -> ExpectationSuite:
                     },
                 }
             ),
-            ExpectationConfiguration(
-                **{
-                    "meta": {
-                        "profiler_details": {
-                            "metric_configuration": {
-                                "metric_name": "column.distinct_values.count",
-                                "domain_kwargs": {"column": "trip_distance"},
-                                "metric_value_kwargs": None,
-                                "metric_dependencies": None,
-                            },
-                            "num_batches": 36,
-                        }
-                    },
-                    "expectation_type": "expect_column_unique_value_count_to_be_between",
-                    "kwargs": {
-                        "strict_max": False,
-                        "max_value": 1430,
-                        "strict_min": False,
-                        "column": "trip_distance",
-                        "min_value": 1159,
-                    },
-                }
-            ),
             ExpectationConfiguration(
                 **{
                     "meta": {
@@ -1896,29 +1227,6 @@ def _expectation_suite(name: str) -> ExpectationSuite:
                     },
                 }
             ),
-            ExpectationConfiguration(
-                **{
-                    "meta": {
-                        "profiler_details": {
-                            "metric_configuration": {
-                                "metric_name": "column.distinct_values.count",
-                                "domain_kwargs": {"column": "fare_amount"},
-                                "metric_value_kwargs": None,
-                                "metric_dependencies": None,
-                            },
-                            "num_batches": 36,
-                        }
-                    },
-                    "expectation_type": "expect_column_unique_value_count_to_be_between",
-                    "kwargs": {
-                        "strict_max": False,
-                        "max_value": 813,
-                        "strict_min": False,
-                        "column": "fare_amount",
-                        "min_value": 153,
-                    },
-                }
-            ),
             ExpectationConfiguration(
                 **{
                     "meta": {
@@ -1965,29 +1273,6 @@ def _expectation_suite(name: str) -> ExpectationSuite:
                     },
                 }
             ),
-            ExpectationConfiguration(
-                **{
-                    "meta": {
-                        "profiler_details": {
-                            "metric_configuration": {
-                                "metric_name": "column.distinct_values.count",
-                                "domain_kwargs": {"column": "tip_amount"},
-                                "metric_value_kwargs": None,
-                                "metric_dependencies": None,
-                            },
-                            "num_batches": 36,
-                        }
-                    },
-                    "expectation_type": "expect_column_unique_value_count_to_be_between",
-                    "kwargs": {
-                        "strict_max": False,
-                        "max_value": 608,
-                        "strict_min": False,
-                        "column": "tip_amount",
-                        "min_value": 469,
-                    },
-                }
-            ),
             ExpectationConfiguration(
                 **{
                     "meta": {
@@ -2034,29 +1319,6 @@ def _expectation_suite(name: str) -> ExpectationSuite:
                     },
                 }
             ),
-            ExpectationConfiguration(
-                **{
-                    "meta": {
-                        "profiler_details": {
-                            "metric_configuration": {
-                                "metric_name": "column.distinct_values.count",
-                                "domain_kwargs": {"column": "total_amount"},
-                                "metric_value_kwargs": None,
-                                "metric_dependencies": None,
-                            },
-                            "num_batches": 36,
-                        }
-                    },
-                    "expectation_type": "expect_column_unique_value_count_to_be_between",
-                    "kwargs": {
-                        "strict_max": False,
-                        "max_value": 1440,
-                        "strict_min": False,
-                        "column": "total_amount",
-                        "min_value": 898,
-                    },
-                }
-            ),
             ExpectationConfiguration(
                 **{
                     "meta": {
@@ -2596,7 +1858,7 @@ def test_volume_data_assistant_get_metrics_and_expectations_using_implicit_invoc
         # include_semantic_types=include_semantic_types,
         # exclude_semantic_types=exclude_semantic_types,
         # allowed_semantic_types_passthrough=allowed_semantic_types_passthrough,
-        cardinality_limit_mode=CardinalityLimitMode.REL_100,
+        cardinality_limit_mode=CardinalityLimitMode.FEW,
         # max_unique_values=max_unique_values,
         # max_proportion_unique=max_proportion_unique,
         # column_value_uniqueness_rule={
@@ -2968,26 +2230,18 @@ def test_volume_data_assistant_plot_returns_proper_dict_repr_of_column_domain_ch
     plot_result: PlotResult = bobby_volume_data_assistant_result.plot_metrics()
 
     column_domain_charts: List[dict] = [p.to_dict() for p in plot_result.charts[1:]]
-    assert len(column_domain_charts) == 18  # One for each column present
+    assert len(column_domain_charts) == 10  # One for each column present
 
     columns: List[str] = [
         "VendorID",
-        "pickup_datetime",
-        "dropoff_datetime",
-        "passenger_count",
-        "trip_distance",
         "RatecodeID",
+        "passenger_count",
         "store_and_fwd_flag",
-        "PULocationID",
-        "DOLocationID",
         "payment_type",
-        "fare_amount",
         "extra",
         "mta_tax",
-        "tip_amount",
         "tolls_amount",
         "improvement_surcharge",
-        "total_amount",
         "congestion_surcharge",
     ]
     assert find_strings_in_nested_obj(column_domain_charts, columns)
@@ -2996,13 +2250,15 @@ def test_volume_data_assistant_plot_returns_proper_dict_repr_of_column_domain_ch
 def test_volume_data_assistant_plot_include_column_names_filters_output(
     bobby_volume_data_assistant_result: VolumeDataAssistantResult,
 ) -> None:
-    include_column_names: List[str] = ["VendorID", "pickup_datetime"]
+    include_column_names: List[str] = [
+        "VendorID",
+    ]
     plot_result: PlotResult = bobby_volume_data_assistant_result.plot_metrics(
         include_column_names=include_column_names
     )
 
     column_domain_charts: List[dict] = [p.to_dict() for p in plot_result.charts[1:]]
-    assert len(column_domain_charts) == 2  # Normally 18 without filtering
+    assert len(column_domain_charts) == 1  # Normally 18 without filtering
     assert find_strings_in_nested_obj(column_domain_charts, include_column_names)
 
 
@@ -3015,7 +2271,7 @@ def test_volume_data_assistant_plot_exclude_column_names_filters_output(
     )
 
     column_domain_charts: List[dict] = [p.to_dict() for p in plot_result.charts[1:]]
-    assert len(column_domain_charts) == 16  # Normally 18 without filtering
+    assert len(column_domain_charts) == 9  # Normally 18 without filtering
     assert not find_strings_in_nested_obj(column_domain_charts, exclude_column_names)
 
 
diff --git a/tests/test_utils.py b/tests/test_utils.py
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -955,9 +955,11 @@ def _find_string(data: Any) -> bool:
                 strings.remove(string_to_remove)
                 if not strings:
                     return True
+
         return False
 
     success: bool = _find_string(obj)
     if not success:
         logger.info(f"Could not find the following target strings: {strings}")
+
     return success