numpy.copyto
- numpy.copyto(dst, src, casting='same_kind', where=True)
Copies values from one array to another, broadcasting as necessary.
Raises a TypeError if the casting rule is violated, and if
whereis provided, it selects which elements to copy.- Parameters: