I have a bunch of columns which requires cleaning in Pandas. I've written a function which does that cleaning. I'm not sure how to apply the same function to many columns. Here is what I'm trying:
df["Passengers", "Revenue", "Cost"].apply(convert_dash_comma_into_float)
But I'm getting KeyError.