Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Research
/ join
Function
join
NLP/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py:48–53 ·
view source on GitHub ↗
(iterable, delimiter)
Source
from the content-addressed store, hash-verified
46
47
48
def
join(iterable, delimiter):
49
it = iter(iterable)
50
yield
next(it)
51
for
x in it:
52
yield
delimiter
53
yield
x
54
55
56
def
intersperse(delimiter, seq):
Callers
5
__init__
Method · 0.50
__init__
Method · 0.50
__init__
Method · 0.50
__init__
Method · 0.50
__init__
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected