Conditional columns with list comprehension

PHOTO EMBED

Sat Jan 23 2021 20:54:48 GMT+0000 (Coordinated Universal Time)

Saved by @exe

df['Size_indicator'] = ['Big' if x >= 100 else 'Small' for x in df['Employees']]
df
content_copyCOPY