An InaccessibleArray subclass that supports indexing.
| 42 | |
| 43 | |
| 44 | class IndexableArray(InaccessibleArray): |
| 45 | """An InaccessibleArray subclass that supports indexing.""" |
| 46 | |
| 47 | def __getitem__(self, key): |
| 48 | return type(self)(self.array[key]) |
| 49 | |
| 50 | def transpose(self, axes): |
| 51 | return type(self)(self.array.transpose(axes)) |
| 52 | |
| 53 | |
| 54 | class DuckArrayWrapper(utils.NDArrayMixin): |
no outgoing calls
searching dependent graphs…