You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I consider this very high priority because it silently gives wrong results.
>>>time=Axis('time=2015..2019')
>>>time.i[0]
time.i[0]
>>>int(time.i[0])
2015>>># with a scalar, it works as expected
... time.i[0] +12016>>>arr=ndtest(3)
>>>arr>>>time.i[0] +arraa0a1a2012>>>arr+time.i[0]
aa0a1a2012>>># using int() is an easy workaround but since this is a silent failure, you don't know you have to use it.>>>int(time.i[0]) +arraa0a1a2201520162017
BTW: this is important because looping on an axis (e.g. for y in time) gives you scalar Groups.