'Replace an indexed column with an updated reference.
Parameters
prev_col : Column
Column reference to replace
new_col : Column
New column reference'

def replace_col(self, prev_col, new_col):

    self.columns[self.col_position(prev_col.info.name)] = new_col
