我正在尝试在日期层次结构上应用以下条件:
m["additional_refrigerator_equipped2"] = tt.agg.sum(
tt.where(lvl["date"] > "2019-11-01", 500, 0))
我在可视化上收到以下错误:
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')"
如何将日期添加到比较中?
我还检查了 NA 值,但日期列不包含任何 NA 值。