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

Function get_sets

join/LSH/LSH_benchmark_os.py:402–407  ·  view source on GitHub ↗
(path, key)

Source from the content-addressed store, hash-verified

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

Callers 1

get_topFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected