sup3r.preprocessing.utilities.parse_ellipsis# parse_ellipsis(vals, dim_num)[source]# Replace ellipsis with N slices where N is dim_num - len(vals) + 1 Parameters: vals (list | tuple) – Entries that will be used to index an array with dim_num dimensions. dim_num (int) – Number of dimensions of array that will be indexed with given vals.