### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.7 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Indexing routines »
- numpy.nditer »

# numpy.nditer.copy

`nditer.``copy`()

  Get a copy of the iterator in its current state.

  Examples

      >>> x = np.arange(10)
      >>> y = x + 1
      >>> it = np.nditer([x, y])
      >>> it.next()
      (array(0), array(1))
      >>> it2 = it.copy()
      >>> it2.next()
      (array(1), array(2))

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.7 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Indexing routines »
- numpy.nditer »