You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a column has thousands separators (which should be internationalized), moneypandas is unable to parse:
could not convert string to float: '27,042.58 '
...
File "/home/user/function/processor.py", line 253, in find_special_columns
data[col] = MoneyArray(data[col], default_money_code=cur)
File "/home/user/.local/lib/python3.8/site-packages/moneypandas/money_array.py", line 84, in __init__
values, self.default_money_code = _to_money_array(values, default_money_code=default_money_code) # TODO: avoid potential copy
File "/home/user/.local/lib/python3.8/site-packages/moneypandas/parser.py", line 50, in _to_money_array
values = [_as_money_object(v, default_money_code) for v in values]
File "/home/user/.local/lib/python3.8/site-packages/moneypandas/parser.py", line 50, in <listcomp>
values = [_as_money_object(v, default_money_code) for v in values]
File "/home/user/.local/lib/python3.8/site-packages/moneypandas/parser.py", line 91, in _as_money_object
va = np.float64(val)
The text was updated successfully, but these errors were encountered:
When a column has thousands separators (which should be internationalized), moneypandas is unable to parse:
The text was updated successfully, but these errors were encountered: