I need to create a new column filled with the not null data from other 3 columns.
This is the expected output:
This is what I tried so far
df['color'] = df['d', 'f', 'g'].apply(lambda x: int(x) if x>=0 else 'Nope')
But I have this key error:
KeyError: ('d', 'f', 'g')