I have a numpy array and would like to get the values from the array where groups  of values are the same.<br><br>Select the groups of 0 where group is > 3 and change 0 to 5<br><br>This<br>[3, 2, 1, 0, 0],<br>[1, 0, 3, 0, 0],<br>
[2, 0, 1, 3, 0],<br>[0, 2, 3, 3, 0]<br><br>to this<br>[3, 2, 1, 5, 5],<br>
[1, 0, 3, 5, 5],<br>
[2, 0, 1, 3, 5],<br>
[0, 2, 3, 3, 5]<br><br>Regards<br>