pigeon/data_processing.py
def sum_columns(data, new_colname, *argv):
    """
    Sum columns into new column. ONLY FOR NUMERIC DATA.

    :param data: dataframe
    :param new_colname: name for the column to be created
    :param argv:columns that will be summed to create new column values
    :return: dataframe with new column

    """
    data[new_colname] = 0
    for arg in argv:
        data[new_colname] += data[arg]
    return data

    Sum columns into new column. ONLY FOR NUMERIC DATA.

    :param data: dataframe
    :param new_colname: name for the column to be created
    :param argv:columns that will be summed to create new column values
    :return: dataframe with new column

    
Sum columns into new column. ONLY FOR NUMERIC DATA.
Sum columns into new column . ONLY FOR NUMERIC DATA .
def sum_columns(data, new_colname, *argv):
    data[new_colname] = 0
    for arg in argv:
        data[new_colname] += data[arg]
    return data
def sum_columns ( data , new_colname , * argv ) : data [ new_colname ] = 0 for arg in argv : data [ new_colname ] += data [ arg ] return data
Sum columns into new column.
Sum columns into new column .
"""
    Sum columns into new column. ONLY FOR NUMERIC DATA.

    :param data: dataframe
    :param new_colname: name for the column to be created
    :param argv:columns that will be summed to create new column values
    :return: dataframe with new column

    """
dataframe with new column
dataframe with new column
data
None
new_colname
name for the column to be created
name for the column to be created
argv
columns that will be summed to create new column values
columns that will be summed to create new column values