Skip to content

Commit

Permalink
lint with black
Browse files Browse the repository at this point in the history
  • Loading branch information
afua-moj committed Jul 13, 2023
1 parent a1830b3 commit 5cc2023
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions splink/linker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2029,21 +2029,21 @@ def profile_columns(
bottom_n=10,
cast_arrays_as_str=False,
):
"""Generate three summary charts for each `column_expression`.
The purpose of these charts is to better understand the cardinality and skew of each
`column_expression` chosen for profiling.
"""Generate three summary charts for each `column_expression`.
The purpose of these charts is to better understand the cardinality and skew of each
`column_expression` chosen for profiling.
Args:
column_expressions (str | list[str]): The columns to be profiled or an sql expression
top_n (int): The number of bars in the chart for the most common values.
bottom_n (int): The number of bars in the chart for the least common values.
cast_arrays_as_str (bool): If False, any columns with arrays will be unnested
cast_arrays_as_str (bool): If False, any columns with arrays will be unnested
and the elements of the array will be profiled. If set to True, the whole array will be profiled
Returns:
altair_or_json: An altair line graph, a bar graph of the most common values and a bar
altair_or_json: An altair line graph, a bar graph of the most common values and a bar
chart of the least common values, for each column profiled.
Examples:
Expand Down

0 comments on commit 5cc2023

Please sign in to comment.