Details
Description
A good reference implementation is http://www.jooq.org/doc/3.6/manual-single-page/#case-expressions
As an example in Python:
when(df.age == 1, "one").when(df.age == 2, "two").otherwise("unknown")
A good reference implementation is http://www.jooq.org/doc/3.6/manual-single-page/#case-expressions
As an example in Python:
when(df.age == 1, "one").when(df.age == 2, "two").otherwise("unknown")