Accumulate `target` along `axis` after filling with y fill value.
(self, target, axis=0)
| 1110 | return masked_d |
| 1111 | |
| 1112 | def accumulate(self, target, axis=0): |
| 1113 | """Accumulate `target` along `axis` after filling with y fill |
| 1114 | value. |
| 1115 | |
| 1116 | """ |
| 1117 | tclass = get_masked_subclass(target) |
| 1118 | t = filled(target, self.filly) |
| 1119 | result = self.f.accumulate(t, axis) |
| 1120 | masked_result = result.view(tclass) |
| 1121 | return masked_result |
| 1122 | |
| 1123 | |
| 1124 |