channel_paths['path'] = np.where(
channel_paths['conversion'] == 0,
['Start'] + channel_paths['channel'] + ['Null'],
['Start'] + channel_paths['channel'] + ['Conversion'])
I would like to add string Null at the end if conversion is 0 and add conversion column value if conversion value is 1 .
`I have a below error
TypeError: Cannot broadcast np.ndarray with operand of type <class 'list'>