MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / get_sets

Function get_sets

join/LSH/LSH_benchmark_ws.py:401–406  ·  view source on GitHub ↗
(path, key)

Source from the content-addressed store, hash-verified

399 return result
400
401def get_sets(path, key):
402 table_name = key.split(".csv.")[0] + ".csv"
403 col_name = key.split(".csv.")[1]
404 df = pd.read_csv(os.path.join(path, table_name), dtype='str').dropna()
405 data = df[col_name].tolist()
406 return list(set(data))
407
408levels = {
409 "test": {

Callers 1

get_topFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected