pygsti.objects.DataSet.iteritems

DataSet.iteritems()
Iterator over (gateString, countData) pairs,
where gateString is a tuple of gate labels and countData is a DataSetRow instance, which behaves similarly to a dictionary with spam labels as keys and counts as values.