MCPcopy Create free account
hub / github.com/codemeta/codemeta / rows_from_columns

Function rows_from_columns

scripts/aggregate.py:32–34  ·  view source on GitHub ↗

from a list of columns, returns a list of rows.

(cols)

Source from the content-addressed store, hash-verified

30 return list(zip(*rows))
31
32def rows_from_columns(cols):
33 """from a list of columns, returns a list of rows."""
34 return list(zip(*cols))
35
36def read_terms(prop_desc, filename):
37 """Reads the crosswalk of one of the mappings, checks its integrity,

Callers 1

write_aggregateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected