-
-
Couldn't load subscription status.
- Fork 19.2k
Closed
Description
related #4687
Bad errors and/or not checking:
>>> ind = tm.makeCustomIndex(5, 5) >>> ind.set_levels([[1, 2]]) # Wrong Error Traceback ... ValueError: Length of names (5) must be same as level (1) >>> ind = tm.makeCustomIndex(5, 5) >>> ind.set_levels([[1, 2]], inplace=True) # Wrong Error Traceback ... ValueError: Length of names (5) must be same as level (1) >>> ind = tm.makeCustomIndex(5, 5) >>> ind.levels = [[1, 2]] # Wrong Error Traceback ... ValueError: Length of names (5) must be same as level (1)