I am having some trouble learning about new methods of flattening/aggregating nested object data in python. My current implementation is rather slow, and I want to know some app