I have a problem that I could not figure out.
I have a DataFrame (df) that looks like the attached picture
The contents of this DataFrame are converted to datetime and used for plotting in Power BI based on what I learned here with the following code which you can find in the link
df = df.apply(lambda col: pd.to_datetime(col, format='%Y-%m-%dT%H:%M:%S.%f'), axis=0)
my problem is that when I am working with a computer that has United state settings then the below line works perfectly
df.plot(x='Scale',ax=ax, rot=0,linewidth=.5, marker='o')
but when I write the same code on a German computer then suddenly this stops working and I get a strange plot so I would be grateful if you tell me what's wrong and how can I make it work?
I suspect the naT is causing problems.