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 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(