Attempting to set nested elements in dataframe

Hello,

Apologies if this is a simple answer, this is my first time working with MongoDB, though I do have experience with Python.

I am currently attempting to search for and add the data of one collection element to another. Precisely, I’m searching for one element that matches a selected name and then add some of that elements values to a different element in a different collection as a single value, such as nesting. So far I’ve been unable to figure out how to do the update. Would there be an easier way to do this then what I’m finding myself trying to figure out?

Thank you,
Claire