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

Function get_sets

join/Pexeso/PEXESO_benchmark_wl.py:300–305  ·  view source on GitHub ↗
(path, key)

Source from the content-addressed store, hash-verified

298 return result
299
300def get_sets(path, key):
301 table_name = key.split(".csv.")[0] + ".csv"
302 col_name = key.split(".csv.")[1]
303 df = pd.read_csv(os.path.join(path, table_name), dtype='str').dropna()
304 data = df[col_name].tolist()
305 return list(set(data))
306
307if __name__ == "__main__":
308

Callers 1

get_topFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected