dbnl.report_results(
*,
run: ,
data: ,
) -> None:
All data should be reported to dbnl at once. Calling dbnl.report_column_results
more than once will overwrite the previously uploaded data.
Once a Run is . You can no longer call report_column_results
to send data to dbnl.
import dbnl
import pandas as pd
dbnl.login()
proj1 = dbnl.get_or_create_project(name="test_p1")
runcfg1 = dbnl.create_run_config(project=proj1, columns=[{"name": "error", "type": "float"}])
run1 = dbnl.create_run(project=proj1, run_config=runcfg1)
data = pd.DataFrame({"error": [0.11, 0.33, 0.52, 0.24]})
dbnl.report_column_results(run=run1, data=data)