Creating conditional columns numpy.where

PHOTO EMBED

Sat Jan 23 2021 20:52:53 GMT+0000 (Coordinated Universal Time)

Saved by @exe

df['Size_indicator'] = np.where(df['Employees'] >= 100, 'Big', 'Small')
df
content_copyCOPY