Change value based on condition in whole dataframe with multiple columns

QuestionsChange value based on condition in whole dataframe with multiple columns
sethbeckerman5 Staff asked 4 years ago

I have a dataframe with multiple columns. I know to change the value based on condition for one specific column. But how can I change the value based on condition over all columns for the whole dataframe? I want to replace with


View on Stack Overflow