While using pandas with the python package: bar-chart-race 0.1.0, I can't seem to change the thousands seperator to German/Dutch style,
namely: 1.000,23 instead of 1,000.23
I tried changing the locale
import locale
locale.setlocale(locale.LC_ALL, 'deu_DEU')
'German_Germany.1252'
"{0:n}".format(x)
It gives this feedback:
TypeError: unsupported format string passed to DataFrame.format
I tried changing the style
df.head().style.format("{0:n}")
This works partly, because I see the df values correctly displayed in the first rows of output, but it won't implement the changes in the bart chart race graphical representation of the data...
Any help would be greatly appreciated, please be warned, this is my very first python project :) I'm an absolute newbie.