I have a df as follows
Group Date Data1 Data2
A 01-01-2023 22 23
A 01-02-2023 24 20
A 01-03-2023 10 20
A 01-04-2023 30 32
B 02-03-2023 24.5 26.5
B 02-04-2023 26.5 23.5
B 02-05-2023 12.5 23.5
B 02-06-2023 32.5 35.5
B 02-07-2023 27 30
B 02-08-2023 29 27
I have seperate list for group_A = [01-02-2023,01-04-2023] and group_B = [02-03-2023,02-08-2023].
These are the dates to be highlighted.
I tried using groupby and styler.
How to pass the list in groupby to styler and highlight the corrsponding date columns for both the groups.