Data structure for efficient access of unbalanced and unevenly-spaced panel data