Closed
Description
See example
In [12]: arr = Series(np.random.randn(10), index=np.arange(10), dtype=object)
In [13]: arr
Out[13]:
0 -0.475934738891
1 0.602096986911
2 0.731158853064
3 -0.268872970066
4 0.607786684074
5 -0.0200444918205
6 1.93289485517
7 1.14860246486
8 -0.138246858663
9 0.382736317471
In [14]: 1. / arr
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/Users/wesm/Downloads/<ipython-input-14-6df87fcc597b> in <module>()
----> 1 1. / arr
TypeError: unsupported operand type(s) for /: 'float' and 'Series'
Metadata
Metadata
Assignees
Labels
No labels