pandas.Series.case\_when ======================== .. currentmodule:: pandas .. automethod:: Series.case_when