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
@@ -292,7 +292,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-insenstive (see documentaiton for other options)
+    # cardinality_limit_mode="rel_100",  # case-insensitive (see documentation for other options)
     # max_unique_values=max_unique_values,
     # max_proportion_unique=max_proportion_unique,
     # column_value_uniqueness_rule={


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-insenstive (see documentaiton for other options)
+    # cardinality_limit_mode="rel_100",  # 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
@@ -121,7 +121,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-insenstive (see documentaiton for other options)
+    # cardinality_limit_mode="rel_100",  # 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
@@ -98,7 +98,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-insenstive (see documentaiton for other options)
+    # cardinality_limit_mode="rel_100",  # case-insensitive (see documentation for other options)
     # max_unique_values=max_unique_values,
     # max_proportion_unique=max_proportion_unique,
     # column_value_uniqueness_rule={