From 53dd27cad253062f2d65656eaaa572b1303f1624 Mon Sep 17 00:00:00 2001 From: Alexandre Quemy Date: Tue, 1 Aug 2023 12:01:01 +0200 Subject: [PATCH 1/2] docs: realign menu and toc (#1409) --- docsrc/source/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docsrc/source/index.rst b/docsrc/source/index.rst index c0bffadb6..1ad1be324 100644 --- a/docsrc/source/index.rst +++ b/docsrc/source/index.rst @@ -24,7 +24,7 @@ pages/use_cases/custom_report_appearance .. toctree:: - :maxdepth: 3 + :maxdepth: 3 :caption: Data Catalog with Profiling (Self-hosted) :hidden: @@ -38,7 +38,7 @@ pages/integrations/other_dataframe_libraries pages/integrations/great_expectations - pages/integrations/bytewax + pages/integrations/bytewax pages/integrations/data_apps pages/integrations/pipelines pages/integrations/cloud_services From 956f7e9a0ee29ef7a0d72ec43c4f208da1fe7a94 Mon Sep 17 00:00:00 2001 From: Dmitry Yemelyanov Date: Mon, 7 Aug 2023 15:04:21 +0300 Subject: [PATCH 2/2] fix: ignore none alias name when render categorical --- .../report/structure/variables/render_categorical.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ydata_profiling/report/structure/variables/render_categorical.py b/src/ydata_profiling/report/structure/variables/render_categorical.py index 0ef2aa04a..cc926ac60 100644 --- a/src/ydata_profiling/report/structure/variables/render_categorical.py +++ b/src/ydata_profiling/report/structure/variables/render_categorical.py @@ -136,6 +136,8 @@ def render_categorical_unicode( for category_alias_name, category_alias_counts in sorted( summary["category_alias_char_counts"].items(), key=lambda x: -len(x[1]) ): + if category_alias_name is None: + continue category_alias_name = category_alias_name.replace("_", " ") cats.append( FrequencyTable(