I am trying to apply a condition on date hierarchy with the following:
m["additional_refrigerator_equipped2"] = tt.agg.sum(
tt.where(lvl["date"] > "2019-11-01", 500, 0))
I am getting the below error on visualization:
An error happened during the loading process: "class java.lang.String cannot be cast to class
java.time.chrono.ChronoLocalDate (java.lang.String and java.time.chrono.ChronoLocalDate
are in module java.base of loader 'bootstrap')"
How can I add the dates to a comparison?
I also checked for NA values but the dates column does not contain any NA values.