I want to rename the columns from one dataframe into the columns of another, meanwhile creating a completely new dataframe. I am not really sure how to approach this and which is why the consultation. I want to take the name of one element in the string from one column and reuse it to another. This can be either in R or python, doesn't matter too much. The rest of the string values can be fixed values.
Such as: Hm106_120.region001 1813 PKSI_GCF1813 Streptomyces_sp_Hm106MBT13_26.region001 1813 PKSI_GCF1813 Streptomyces_sp_MBT13
Please see the example in the picture posted for better description
Thanks for the help :)Table Rename