def __rename_column(df, old_name, new_name):
    """
    Renames a column  in a pandas dataframe
    :param df: pandas dataframe
    :param old_name:
    :param new_name:
    :return: data frame with renamed column
    """
    return df.rename(index=str, columns={old_name: new_name})