allow lookup by index in Python's Rating