Open jlumpe opened 5 years ago
I don't think it is possible now to have a dimension without a dictionary.
I suppose many thousands is not really an issue on modern hardware, it will take a bit of memory which is wasted indeed. Maybe you can replace a standard OrderedDict with your own fake OrderedDict type after construction. The fake OrderedDict type should implement the Associative interface, but trivially, in a dict[key] == key
way. But I don't know if that would work in NamedArrays.
I have a 2D array of time series data. The rows corresponds to variables, so I want to apply names there. The columns correspond to time points so naming them doesn't really make sense. I'm also somewhat worried about performance if an
OrderedDict
of strings is created for many thousands of columns.Is there some way to name only the rows and not the columns?