Hi Andrew,
It is best to avoid applying formatting to expressions that are used for computation. If the data has logical groupings, use a separate list for each group. e.g.
dataGWB = {
DateObject[{2020, 8, 16}, "Day"] -> "GWB",
DateObject[{2020, 8, 18}, "Day"] -> "GWB",
DateObject[{2020, 8, 19}, "Day"] -> "GWB",
DateObject[{2020, 8, 20}, "Day"] -> "GWB"}
Then combine them for further analysis
dataAll = Join[dataGWB, dataBynB, ...]
Classify
accepts input in several forms, one of them is a list of Rule
. Some of the elements in the datesclassify
list are not rules of the form date -> label
, they are just date
. The code I posted earlier identifies them
Cases[datesclassify, Except[_Rule]]
To visually identify them
datesclassify // Column