To deal with the necessity to rename of switch column names with a pre-current list, I will create a new sample dataframe df with First column names and unrelated new column names.The variants of 3 like "not" simply just alter the function from buying not to acquiring, but are or else the same, and a similar selections are available.Stack Exchange