Implements the [] operator. Accepts an array name or index.
(self, idx)
| 40 | self.dataset = None |
| 41 | |
| 42 | def __getitem__(self, idx): |
| 43 | """Implements the [] operator. Accepts an array name or index.""" |
| 44 | return self.get_array(idx) |
| 45 | |
| 46 | def __setitem__(self, name, value): |
| 47 | """Implements the [] operator. Accepts an array name or index.""" |