Here we have a couple of different issues. The first one is that printing a fake index is a bit confusing because we can't do anything with that index and doesn't behave as an index. In my particular use case, I want to do something with the HTML representation of a DataFrame but the fake index becomes a real index in the front-end. Obviously, the best option is to have a real index. Assuming that is not possible, having a toggle to say that I don't want to print the index, would also be an acceptable solution.
The other issue that came up was: What do you do when need a real index? The answer to that is straightforward: you should create a real index. Keep in mind that even after you have created a real index, you still have the fake one, and that doesn't look great. However, I'm more interested in the first issue.
