Traceback (most recent call last):



 "<ipython-input-71-cbb1aa99c0f9>", line 1, in <module>

pd.DataFrame().index - 1



 "C:\Program 
s\WinPython-64bit-3.5.2.3Qt5\python-3.5.2.amd64\lib\site-packages\pandas\indexes\base.py", line 1796, in __sub__

"{typ}".format(typ=type(self)))

TypeError: cannot perform __sub__ with this index type: <class 'pandas.indexes.base.Index'>

Traceback (most recent call last):


 "<stdin>", line 1, in <module>
TypeError: list indices must be integers or slices, not float
