THis is my one liner code:
report_df[\'sys_commission\'] = np.piecewise(report_df.sys_commission.values, [(report_df.hour.values >= start_date)& is