I was reading an xlm file using pandas.read_html
and works almost perfect, the problem is that the file has commas as decimal separators instead of dots (the default in read_html
).
I could easily replace the commas by dots in one file, but i have almost 200 files with that configuration.
with pandas.read_csv
you can define the decimal separator, but i don't know why in pandas.read_html
you can only define the thousand separator.
any guidance in this matter?, there is another way to automate the comma/dot replacement before it is open by pandas? thanks in advance!
1.000,21
, it also has the thousand separator – Dripping