MCPcopy Index your code
hub / github.com/InternScience/InternAgent / read_data_from_csv

Function read_data_from_csv

tasks/AutoChem/code/experiment.py:170–173  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

168 return embeddings, pred
169
170def read_data_from_csv(path):
171 data_df = pd.read_csv(path)
172 dataset = Dataset.from_dict(data_df)
173 return dataset
174
175
176

Callers 1

trainFunction · 0.70

Calls 2

read_csvMethod · 0.80
from_dictMethod · 0.45

Tested by

no test coverage detected