I am having trouble accessing run data keys in several of my runs. Specifically, I have logged a metric in my code, the metric is tracked in the online wandb UI, but when I try accessing the data using the following code
import wandb
api = wandb.Api()
run = api.run("xxxxxx")
run.history()[['_step', 'metric_name']]
It throws a KeyError: "['metric_name'] not in index".
When I print out run.history() in table format, it does show ‘metric_name’ as one of the columns; ‘metric_name’ also appears as a key in run.summary. I wonder what is the issue here?