Rename column if its name matches to a name in given list

I understand - but I don’t see what I (or anyone wanting to help) can do here to help (besides actually writing the code for you - which is beyond the scope of this community platform).

If this is your reply I think you are missing the meaning of the MWE.

I quote myself:

The MWE doesn’t imply that you solve your problem and post the solution: it means to share a code snippet that we can run to reproduce your issue. I think the quote above correctly reflects this.

Now, you are free to formulate your posts as you see fit. However, if you want to get help, you need to be sure you convey enough information so others can provide valuable help: doing the work for (instead of) you is not actually helping (in the long run).

So it is not enough to just state what you want to achieve and expect others to deliver the code for you.

I am here to help (within the limits of my knowledge and experience) - but I don’t think the purpose of this community platform is to fulfill code requests.

Please also take a look at the following guidelines.

So, again:

  • please share a proper MWE
  • precisely state the issue you are experiencing
1 Like