Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Dash Parse_dates, index_col, pd.to_datetime not recognising date format

Hi I am struggling with my dataset and none of the above, Dash Parse_dates, index_col, pd.to_datetime recognise date format on Dash and the chart are so weird.
What the best practice to read Dates on DASH?

Hey @MGBpy,

pd.to_datetime(df['date']) should be fine. Here are some examples working with dates


Hi @bcd, Thanks. My conclusion is that pd.to_datetime really works but what doesnt work is the grouping method I am using (groupby, resample, etc) because when I use pd.pivot_table I am able to group number of cases per date.