tools/perf/cli_tools/flakiness_cli/frames.py
def _AddDataFrameColumn(df, col, values, fill_value=0):
  """Add a sequence of values as a new column, filling values if needed.

  Args:
    df: A data frame on which to add the column, it is modified in place.
    col: A string with the name for the new column.
    values: A sequence of values for the column.
    fill_value: If the sequence of values is shorter that the current number
      of rows in the df, pad the sequence with extra copies of `fill_value`
      to make the number of rows match.
  """
  df[col] = pandas.Series(list(values)).reindex(df.index, fill_value=fill_value)
Add a sequence of values as a new column, filling values if needed.

  Args:
    df: A data frame on which to add the column, it is modified in place.
    col: A string with the name for the new column.
    values: A sequence of values for the column.
    fill_value: If the sequence of values is shorter that the current number
      of rows in the df, pad the sequence with extra copies of `fill_value`
      to make the number of rows match.
  
Add a sequence of values as a new column, filling values if needed.
Add a sequence of values as a new column filling values if needed .
def _AddDataFrameColumn(df, col, values, fill_value=0):
  df[col] = pandas.Series(list(values)).reindex(df.index, fill_value=fill_value)
def _AddDataFrameColumn ( df , col , values , fill_value = 0 ) : df [ col ] = pandas . Series ( list ( values ) ) . reindex ( df . index , fill_value = fill_value )
Add a sequence of values as a new column, filling values if needed.
Add a sequence of values as a new column filling values if needed .
"""Add a sequence of values as a new column, filling values if needed.

  Args:
    df: A data frame on which to add the column, it is modified in place.
    col: A string with the name for the new column.
    values: A sequence of values for the column.
    fill_value: If the sequence of values is shorter that the current number
      of rows in the df, pad the sequence with extra copies of `fill_value`
      to make the number of rows match.
  """
df
A data frame on which to add the column, it is modified in place.
A data frame on which to add the column it is modified in place .
col
A string with the name for the new column.
A string with the name for the new column .
values
A sequence of values for the column.
A sequence of values for the column .
fill_value
If the sequence of values is shorter that the current number
of rows in the df, pad the sequence with extra copies of `fill_value`
to make the number of rows match.
If the sequence of values is shorter that the current number of rows in the df pad the sequence with extra copies of ` fill_value ` to make the number of rows match .