import math


def sum_df_column(column):
    """
    Function is used to take the column of a dataframe (presumably
    from a analytics report Excel sheet) and returns the total.)
    This is intentionally designed to avoid errors caused by
    non-integer values.

    :param
    column (list): column from a dataframe that should be
        traversed

    :return:
    total (int) value that represents the sum of the entire column
    """
    total = 0

    for site_val in column:
        try:
            site_val = float(site_val)
            if not math.isnan(site_val):
                total += site_val
        except ValueError:
            pass

    return total