Pergunta de entrevista da empresa UBS

How to connect two dataframes with oneliner