How to create a new data frame out of a combination between previous data and code results?

Hi, can you provide a reproducible example with the code you've tried?