results/format-covid-forecast/format_data_state_case.py
def generate_new_row(forecast_date, target, target_end_date, 
                    location, type, quantile, value):
    """
    Return a new row to be added to the pandas dataframe.
    """
    new_row = {}
    new_row["forecast_date"] = forecast_date
    new_row["target"] = target
    new_row["target_end_date"] = target_end_date
    new_row["location"] = location
    new_row["type"] = type
    new_row["quantile"] = quantile
    new_row["value"] = value
    return new_row

    Return a new row to be added to the pandas dataframe.
    
Return a new row to be added to the pandas dataframe.
Return a new row to be added to the pandas dataframe .
def generate_new_row(forecast_date, target, target_end_date, 
                    location, type, quantile, value):
    new_row = {}
    new_row["forecast_date"] = forecast_date
    new_row["target"] = target
    new_row["target_end_date"] = target_end_date
    new_row["location"] = location
    new_row["type"] = type
    new_row["quantile"] = quantile
    new_row["value"] = value
    return new_row
def generate_new_row ( forecast_date , target , target_end_date , location , type , quantile , value ) : new_row = { } new_row [ "forecast_date" ] = forecast_date new_row [ "target" ] = target new_row [ "target_end_date" ] = target_end_date new_row [ "location" ] = location new_row [ "type" ] = type new_row [ "quantile" ] = quantile new_row [ "value" ] = value return new_row
Return a new row to be added to the pandas dataframe.
Return a new row to be added to the pandas dataframe .
"""
    Return a new row to be added to the pandas dataframe.
    """
forecast_date
target
target_end_date
location
type
quantile
value