Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dask/dask
/ db
Function
db
dask/dataframe/io/tests/test_sql.py:36–40 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
35
@pytest.fixture
36
def
db():
37
with
tmpfile()
as
f:
38
uri = f
"sqlite:///{f}"
39
df.to_sql(
"test"
, uri, index=True, if_exists=
"replace"
)
40
yield
uri
41
42
43
def
test_empty(db):
Callers
nothing calls this directly
Calls
2
tmpfile
Function · 0.90
to_sql
Method · 0.80
Tested by
no test coverage detected