Closed
Description
In 0.14:
In [1]: pd.__version__
Out[1]: '0.14.1'
In [2]: intidx = pd.Index(range(10))
In [3]: intidx % 2
Out[3]: Int64Index([0, 1, 0, 1, 0, 1, 0, 1, 0, 1], dtype='int64')
now:
In [1]: pd.__version__
Out[1]: '0.15.2'
In [2]: intidx = pd.Index(range(10))
In [3]: intidx % 2
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-3-de0ac1282c31> in <module>()
----> 1 intidx % 2
TypeError: unsupported operand type(s) for %: 'Int64Index' and 'int'