Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ignore none alias name when render categorical #1416

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docsrc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
pages/use_cases/custom_report_appearance

.. toctree::
:maxdepth: 3
:maxdepth: 3
:caption: Data Catalog with Profiling (Self-hosted)
:hidden:

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Loading