Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/JetBrains-Research/code2seq
/ transpose
Function
transpose
code2seq/data/path_context.py:20–21 ·
view source on GitHub ↗
(list_of_lists: List[List[int]])
Source
from the content-addressed store, hash-verified
18
19
20
def
transpose(list_of_lists: List[List[int]]) -> List[List[int]]:
21
return
[cast(List[int], it)
for
it in zip(*list_of_lists)]
22
23
24
class
BatchedLabeledPathContext:
Callers
2
__init__
Method · 0.85
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected