For python in general or maybe just pandas, is there a better or cleaner way to do multiple .(dots)? For example, say I have a code snippet like so:
.