This function is experimental and might be changed or removed in a future minor release. Use with caution in production code.
fetch_experiments_table_global()
Fetches a table of experiment metadata, with runs as rows and attributes as columns. The query targets projects globally, across all workspaces that the user can access with the provided API token.
To narrow the results, define filters for experiments to search or attributes to include.
Parameters
Returns
pandas.DataFrame – A DataFrame similar to the runs table in the web app.
The DataFrame has:
- a single-level index
"experiment"with experiment names - a single-level column index with attribute names
For series attributes, the last logged value is returned.
Raises
AttributeTypeInferenceError– If the attribute type wasn't specified in a filter passed to theexperimentsargument.ConflictingAttributeTypes– If there are conflicting attribute types under the same path and thetype_suffix_in_column_namesargument is set toFalse.
Example
Fetch attributes matching loss or configs from two specific experiments across all projects:
import neptune_query.experimental as nq_experimental
nq_experimental.fetch_experiments_table_global(
experiments=["seagull-week1", "seagull-week2"],
attributes=r"loss | configs",
)
Fetch attributes matching loss or configs from experiments created by a specific user across all projects:
import neptune_query.experimental as nq_experimental
from neptune_query.filters import Filter, Attribute
nq_experimental.fetch_experiments_table_global(
experiments=Filter.eq(Attribute("sys/owner", "string"), "my-username"),
attributes=r"loss | configs",
)