MCPcopy Create free account
hub / github.com/numpy/numpy / _izip_fields_flat

Function _izip_fields_flat

numpy/lib/recfunctions.py:272–282  ·  view source on GitHub ↗

Returns an iterator of concatenated fields from a sequence of arrays, collapsing any nested structure.

(iterable)

Source from the content-addressed store, hash-verified

270
271
272def _izip_fields_flat(iterable):
273 """
274 Returns an iterator of concatenated fields from a sequence of arrays,
275 collapsing any nested structure.
276
277 """
278 for element in iterable:
279 if isinstance(element, np.void):
280 yield from _izip_fields_flat(tuple(element))
281 else:
282 yield element
283
284
285def _izip_fields(iterable):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected