I have two datasets with shapes (329, 159) and (26,24). Both of them are one-hot encoded. The columns in the smaller dataset are present in the larger dataset. The smaller dataset has scores that I need to apply to the larger dataset.
For example: if the gender of a dataset is M in the larger dataset then according to the smaller dataset, it should get 0.80 as a score. How do I compare these two datasets and assign scores?