code: def SetColumnValues(self, col, value):
          
          try:
              self.dataframe.iloc[:, col] = value
          except ValueError:
              self.dataframe.loc[:, col] = value
docs: Custom method to efficiently set all values
          in a column.
  
          Parameters
          ----------
          col : str or int
              name or index position of column
          value : list-like
              values to assign to all cells in the column