Returns an iterator of concatenated fields from a sequence of arrays, collapsing any nested structure.
(iterable)
| 270 | |
| 271 | |
| 272 | def _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 | |
| 285 | def _izip_fields(iterable): |
nothing calls this directly
no outgoing calls
no test coverage detected