I'm trying to create a new column, a tuple based on two existing columns:
dff['net_sys']= dff[['network', 'syscode']].apply(lambda x: (x['network'], x['syscode']),axis=1)
I'm getting an error:
TypeError: list indices must be integers or slices, not list