Domanda di colloquio di UBS

How to connect two dataframes with oneliner