I have to summarize the information of an AnnotatedDataFrame and a graphNEL together. My problem is that the same "feature" in the data frame and in the graphNEL has different names: in the data frame I have NAME and IDnumber separately (two columns), in the graphNEL I have a single column whose entries are in the form NAME(IDnumber). It is a very large dataset, so it is absolutely out of question to rename them manually. Is there a way to make the dataset entries in the form NAME(IDnumber)?
Thank you in advance.