wesm/pandas — Issue #476: DataFrame.delevel improvements
Author: wesm
Created: 2011-12-12 21:56:47+00:00
State: open
Labels: Bug, Enhancement

from @lodagro

```
Concerning the method name, DataFrame.delevel() is maybe too close to a MultiIndex.
DataFrame.deindex() is more general, both are fine for me. And i have no problem to change either.

One little remark, for a MultiIndex default column names are inserted when needed, whereas if no MultiIndex is used, and no name - an exception is raised. Would it not be cleaner to do the same for both, either raise an exception if no names are set or enter default column names?
```