Could not convert string to float: '1,00000e+00'

Hello,
while doing QQ plot faced with problem -
ValueError: could not convert string to float: ‘1,00000e+00’
But manhattan plot is ok. What should I do?
The whole error looks this:

ValueError Traceback (most recent call last)
in
----> 1 p = hl.plot.qq(gwas1.p_value)
2 show§

in qq(pvals, label, title, xlabel, ylabel, size, legend, hover_fields, colors, width, height, collect_all, n_divisions, missing_label)

~/anaconda3/envs/hail/lib/python3.7/site-packages/hail/typecheck/check.py in wrapper(__original_func, *args, **kwargs)
583 def wrapper(original_func, *args, **kwargs):
584 args
, kwargs
= check_all(__original_func, args, kwargs, checkers, is_method=is_method)
–> 585 return original_func(*args, **kwargs)
586
587 return wrapper

~/anaconda3/envs/hail/lib/python3.7/site-packages/hail/plot/plots.py in qq(pvals, label, title, xlabel, ylabel, size, legend, hover_fields, colors, width, height, collect_all, n_divisions, missing_label)
1312 collect_all=collect_all,
1313 n_divisions=n_divisions,
-> 1314 missing_label=missing_label
1315
1316 )

in scatter(x, y, label, title, xlabel, ylabel, size, legend, hover_fields, colors, width, height, collect_all, n_divisions, missing_label)

~/anaconda3/envs/hail/lib/python3.7/site-packages/hail/typecheck/check.py in wrapper(__original_func, *args, **kwargs)
583 def wrapper(original_func, *args, **kwargs):
584 args
, kwargs
= check_all(__original_func, args, kwargs, checkers, is_method=is_method)
–> 585 return original_func(*args, **kwargs)
586
587 return wrapper

~/anaconda3/envs/hail/lib/python3.7/site-packages/hail/plot/plots.py in scatter(x, y, label, title, xlabel, ylabel, size, legend, hover_fields, colors, width, height, collect_all, n_divisions, missing_label)
918 y = (‘y’, y)
919
–> 920 source_pd = _collect_scatter_plot_data(x, y, fields={**hover_fields, **label}, n_divisions=None if collect_all else n_divisions, missing_label=missing_label)
921 sp = figure(title=title, x_axis_label=xlabel, y_axis_label=ylabel, height=height, width=width)
922 sp, sp_legend_items, sp_legend, sp_color_bar, sp_color_mappers, sp_scatter_renderers = _get_scatter_plot_elements(sp, source_pd, x[0], y[0], label_cols, colors, size)

~/anaconda3/envs/hail/lib/python3.7/site-packages/hail/plot/plots.py in _collect_scatter_plot_data(x, y, fields, n_divisions, missing_label)
722 ) for point in res
723 ])
–> 724 source_pd = source_pd.astype(numeric_expr, copy=False)
725
726 return source_pd

~/anaconda3/envs/hail/lib/python3.7/site-packages/pandas/core/generic.py in astype(self, dtype, copy, errors, **kwargs)
5863 results.append(
5864 col.astype(
-> 5865 dtype=dtype[col_name], copy=copy, errors=errors, **kwargs
5866 )
5867 )

~/anaconda3/envs/hail/lib/python3.7/site-packages/pandas/core/generic.py in astype(self, dtype, copy, errors, **kwargs)
5880 # else, only a single dtype is given
5881 new_data = self._data.astype(
-> 5882 dtype=dtype, copy=copy, errors=errors, **kwargs
5883 )
5884 return self._constructor(new_data).finalize(self)

~/anaconda3/envs/hail/lib/python3.7/site-packages/pandas/core/internals/managers.py in astype(self, dtype, **kwargs)
579
580 def astype(self, dtype, **kwargs):
–> 581 return self.apply(“astype”, dtype=dtype, **kwargs)
582
583 def convert(self, **kwargs):

~/anaconda3/envs/hail/lib/python3.7/site-packages/pandas/core/internals/managers.py in apply(self, f, axes, filter, do_integrity_check, consolidate, **kwargs)
436 kwargs[k] = obj.reindex(b_items, axis=axis, copy=align_copy)
437
–> 438 applied = getattr(b, f)(**kwargs)
439 result_blocks = _extend_blocks(applied, result_blocks)
440

~/anaconda3/envs/hail/lib/python3.7/site-packages/pandas/core/internals/blocks.py in astype(self, dtype, copy, errors, values, **kwargs)
557
558 def astype(self, dtype, copy=False, errors=“raise”, values=None, **kwargs):
–> 559 return self._astype(dtype, copy=copy, errors=errors, values=values, **kwargs)
560
561 def _astype(self, dtype, copy=False, errors=“raise”, values=None, **kwargs):

~/anaconda3/envs/hail/lib/python3.7/site-packages/pandas/core/internals/blocks.py in _astype(self, dtype, copy, errors, values, **kwargs)
641 # _astype_nansafe works fine with 1-d only
642 vals1d = values.ravel()
–> 643 values = astype_nansafe(vals1d, dtype, copy=True, **kwargs)
644
645 # TODO(extension)

~/anaconda3/envs/hail/lib/python3.7/site-packages/pandas/core/dtypes/cast.py in astype_nansafe(arr, dtype, copy, skipna)
727 if copy or is_object_dtype(arr) or is_object_dtype(dtype):
728 # Explicit copy, or required since NumPy can’t view from / to object.
–> 729 return arr.astype(dtype, copy=True)
730
731 return arr.view(dtype)

ValueError: could not convert string to float: ‘1,00000e+00’

Thank you!

Ah, this is a good one! I’m guessing that the default floating point representation for your installation of Java based on your region is 1,00000e+00, but your installation of pandas (which is used to go between Hail and the plotting library) doesn’t like that.

I’ll have to think a bit about the right solution.