Common utilities for working with pandas data structures