[tables] removed non-ascii symbol in comment in pydevd_polars.py and pydevd_pandas.py

Merge-request: IJ-MR-120966
Merged-by: Georgii Zorabov <georgii.zorabov@jetbrains.com>

GitOrigin-RevId: 810815417b3ae59ff70a201773f3231e2a8e5c5f
This commit is contained in:
Georgii.Zorabov
2023-11-28 15:13:58 +00:00
committed by intellij-monorepo-bot
parent eb27d57541
commit e1026ad8ae
2 changed files with 2 additions and 2 deletions
@@ -194,7 +194,7 @@ def analyze_numeric_column(column):
else:
format_function = lambda x: round(x, 1)
# so {} — {} will be correctly viewed both on Mac and Windows
# so the long dash will be correctly viewed both on Mac and Windows
bin_labels = ['{} \u2014 {}'.format(format_function(bin_edges[i]), format_function(bin_edges[i+1])) for i in range(ColumnVisualisationUtils.NUM_BINS)]
bin_count_dict = {label: count for label, count in zip(bin_labels, counts)}
res = bin_count_dict
@@ -160,7 +160,7 @@ def analyze_numeric_column(column, col_name):
counts, bin_edges = np.histogram(column, bins=ColumnVisualisationUtils.NUM_BINS)
format_function = int if column.is_integer() else lambda x: round(x, 1)
# so {} — {} will be correctly viewed both on Mac and Windows
# so the long dash will be correctly viewed both on Mac and Windows
bin_labels = ['{} \u2014 {}'.format(format_function(bin_edges[i]), format_function(bin_edges[i + 1])) for i in range(ColumnVisualisationUtils.NUM_BINS)]
res = add_custom_key_value_separator(zip(bin_labels, counts))
else: