subsetting data set from another data 's attributes

vishruth
vishruth New Altair Community Member
edited November 5 in Community Q&A
I have 2 dataframes data1 with 1000 attributes and another data2 with 100 columns. How can i subset data1 with only columns present in data2. Please help me here
Tagged:

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Hi,
    Data to weights on the one, and then select by weights.
    Best,
    Martin
  • vishruth
    vishruth New Altair Community Member
    Does it also work if we have few different attributes in data sets.