How do you handle complex data structures in Python for Harvard Medical School research applications?