P@ndas N3rds. I'm trying to subtract one column from another and add that data to a column like:

df['c']= df['a']-df['b']

This works but I get a warning. What am I not doing correctly?

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!