dbnl.util
get_column_schemas_from_dataframe
get_default_components_dag_from_column_schemas
Gets the unconnected components DAG from a list of column schemas. If there are no components, returns None. The default components dag is of the form {
“component1”: [], “component2”: [], …}
Parameters:column_schemas – list of column schemas
Returns: dictionary of components DAG or None
get_run_config_column_schemas_from_dataframe
get_run_config_scalar_schemas_from_dataframe
get_run_schema_columns_from_dataframe
get_run_schema_scalars_from_dataframe
get_scalar_schemas_from_dataframe
make_test_session_input
Create a TestSessionInput object from a Run or a RunQuery. Useful for creating TestSessions right after closing a Run.
Parameters:
run – The Run to create the TestSessionInput from
run_query – The RunQuery to create the TestSessionInput from
run_alias – Alias for the Run, must be ‘EXPERIMENT’ or ‘BASELINE’, defaults to “EXPERIMENT”
Raises:DBNLInputValidationError – If both run and run_query are None
Returns: TestSessionInput object
Was this helpful?