is this divmod week?
example
a # an array, pretend it is a field
array([ 0, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96,
104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200,
208, 216, 224, 232, 240, 248, 256, 264, 272, 280, 288, 296, 304,
312])
divmod(a, 32)[0]
array([0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5,
5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9], dtype=int32)
as a field calculation
divmod(!your_field!, 32)[0]
or replace 32 with whatever divisor you want. If you want the remainder, replace [0] with [1]
... sort of retired...