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
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments