MCPcopy Index your code
hub / github.com/dask/dask / test_simple

Function test_simple

dask/dataframe/io/tests/test_sql.py:218–223  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

216
217
218def test_simple(db):
219 # single chunk
220 data = read_sql_table("test", db, npartitions=2, index_col="number").compute()
221 assert (data.name == df.name).all()
222 assert data.index.name == "number"
223 assert_eq(data, df)
224
225
226def test_npartitions(db):

Callers

nothing calls this directly

Calls 4

read_sql_tableFunction · 0.90
assert_eqFunction · 0.90
computeMethod · 0.45
allMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…