tools/perf/cli_tools/flakiness_cli/frames.py
def BuildersDataFrame(data):
  """Convert a builders request response into a data frame."""
  def iter_rows():
    for master in data['masters']:
      for test_type, builders in master['tests'].items():
        for builder_name in builders['builders']:
          yield master['name'], builder_name, test_type

  return pandas.DataFrame.from_records(
      iter_rows(), columns=('master', 'builder', 'test_type'))
Convert a builders request response into a data frame.
Convert a builders request response into a data frame.
Convert a builders request response into a data frame .
def BuildersDataFrame(data):
  def iter_rows():
    for master in data['masters']:
      for test_type, builders in master['tests'].items():
        for builder_name in builders['builders']:
          yield master['name'], builder_name, test_type
  return pandas.DataFrame.from_records(
      iter_rows(), columns=('master', 'builder', 'test_type'))
def BuildersDataFrame ( data ) : def iter_rows ( ) : for master in data [ 'masters' ] : for test_type , builders in master [ 'tests' ] . items ( ) : for builder_name in builders [ 'builders' ] : yield master [ 'name' ] , builder_name , test_type return pandas . DataFrame . from_records ( iter_rows ( ) , columns = ( 'master' , 'builder' , 'test_type' ) )
Convert a builders request response into a data frame.
Convert a builders request response into a data frame .
"""Convert a builders request response into a data frame."""
data