You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user, I want to be able to call formatRowWhere more than once/have a method to pass in more than one condition/color pair so that I can easily color my rows using different conditions. For example:
from deephaven import empty_table t = empty_table(10).update(["X = i", "A = A"]) t2 = t.format_row_where("X % 2 == 0", "BLUE") t3 = t2.format_row_where("X % 2 == 1", "GREEN")
Wanted result: a table where rows alternate between blue and green.
Current result: a table where every other row is green, and the other rows are not formatted.
Possible bonus: apply the formats incrementally, with later calls taking precedent, e.g.
from deephaven import empty_table t = empty_table(10).update(["X = i", "A = A"]) t2 = t.format_row_where("X % 3 == 0", "BLUE") t3 = t2.format_row_where("X % 2 == 0", "GREEN")
Would result in some blue and green rows, with green overriding the blue when the condition is true for both.
Needs design spec
The text was updated successfully, but these errors were encountered: