(dt)
| 860 | # counts up elements in subarrays, including nested subarrays, and returns |
| 861 | # base dtype and count |
| 862 | def count_elem(dt): |
| 863 | count = 1 |
| 864 | while dt.shape != (): |
| 865 | for size in dt.shape: |
| 866 | count *= size |
| 867 | dt = dt.base |
| 868 | return dt, count |
| 869 | |
| 870 | fields = [] |
| 871 | for name in dt.names: |
no outgoing calls
no test coverage detected
searching dependent graphs…