Skip to content

Commit

Permalink
fix: ignore none alias name when render categorical
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Yemelyanov committed Aug 7, 2023
1 parent 53dd27c commit 956f7e9
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit 956f7e9

Please sign in to comment.