I'm trying to preprocessing the dataset on kaggle: https://www.kaggle.com/sinaasappel/a-heat-map-divides-patients-into-3-groups. However, in table 1, column names are like:
'C8-A131.01TCGA', 'AO-A12B.01TCGA', 'BH-A18Q.02TCGA', 'C8-A130.02TCGA',
'C8-A138.03TCGA'...
And I want to merge this table with the row in the other table, which looks like this:
TCGA-A2-A0T2 TCGA-A2-A0CM TCGA-BH-A18V TCGA-BH-A18Q TCGA-BH-A0E0 ...
So I want to clean up the column name in table 1, change it to something like:
'A131', 'A12B', 'A18Q', 'A130', 'A138'
So how can I achieve this? Thanks in advance!