[ENH] Make tables properly iterable in python
[COSM]