Better written as

```
dims = [_df(arr, att)
        for atts in join_indices 
        for arr, att in zip([aL, aR], atts)]
```