-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Labels
invalid ⛔Not-an-issue or upstream (not-our-issue)Not-an-issue or upstream (not-our-issue)
Description
The code:
import tqdm
import numpy as np
slopes = np.linspace(2.5e8, 3.1e8, 101)
for i, s in np.ndenumerate(tqdm.tqdm(slopes)):
s/2
Gives me:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-14-07dca8068b6c> in <module>()
1 slopes = np.linspace(2.5e8, 3.1e8, 101)
2 for i,s in np.ndenumerate(tqdm.tqdm(slopes)):
----> 3 s/2
TypeError: unsupported operand type(s) for /: 'tqdm' and 'int'
What am I doing wrong?
Thanks.
Metadata
Metadata
Assignees
Labels
invalid ⛔Not-an-issue or upstream (not-our-issue)Not-an-issue or upstream (not-our-issue)