python - Round numpy array and range it -
i have 1 array :
[1236,1363,1788,...]
i should divide 100 , make integer, range number till number + 99 obtaining 2d array of
[[12, 13, ..., 111], [13, 14, ...,112], ...]
the task not use loop.
i have idea 2 arrays first :
b = a//100
and second :
c = a//100+99
am right, or how task better, code should work fast?
Comments
Post a Comment