What is the best practise to join 2 datasets on primary key

Hello,I need to join datasets,and I did some search, it seems I should use dask on ray to archive this.
Is this the best suggestion?

I did some more read,it seems use sort and zip can archive my goal´╝îI will give it a try