Q. In Pandas, which method is used to create a new column based on conditional logic applied to existing columns?
β
Correct Answer: (B)
df['new_column'] = np.where(...)
You must be Logged in to update hint/solution