Removes first occurence(s) of the value(s).
(self, b, inplace=False)
| 409 | return all(self.eq(b)) |
| 410 | |
| 411 | def remove(self, b, inplace=False): |
| 412 | """ Removes first occurence(s) of the value(s). """ |
| 413 | a = self if inplace else self.copy() |
| 414 | if isinstance(b, Iterable): |
| 415 | for i in b: |
| 416 | super(Array, a).remove(i) |
| 417 | else: |
| 418 | super(Array, a).remove(b) |
| 419 | return a |
| 420 | |
| 421 | def remove_(self, b): |
| 422 | """ Removes first occurence(s) of the value(s) in-place. """ |