reading DataFrame index as kdim or vdim in DataSet #2000
Oops; didn't read your question closely enough; I thought you were focusing on using the column name rather than a list of column names, which is what the above PR does. Here, you're saying that we should treat the index as if it were a column. I really find it mystifying why Pandas treats the index so very differently from other columns, but yes, I agree, we should be able to pass the name of the index just like we can pass the name of regular columns. We would presumably have to do that as a special case, unfortunately. Meanwhile you can work around it using the Pandas
Your title suggests using the index as a vdim, not just a kdim, which seems unlikely to be useful because an index is clearly a key rather than a value dimension, but we'd probably have to explicitly disallow usage of the index as a vdim if we support it for kdim, so maybe the title is correct as written.
I agree... it would be very weird using the index as a vdim, but "weird" and "impossible" are different... and it seems weird to build code to explicitly disallow something just because it is weird.
I'm think that this