Add a column to the main dataframe from a relation foreign key

def relation(self, table, origin_field, search_field,
                 destination_field=None, id_field="id"):
        """
        Add a column to the main dataframe from a relation foreign key 
        """
        df = self._relation(table, origin_field,
                            search_field, destination_field, id_field)
        self.df = df