def get_contacts_for(self, user):
        contacts = self.filter(Q(from_user=user) | Q(to_user=user))
        return contacts
Save a list of lists or matrix to the log as a csv file.
dataset/ETHPy150Open clione/django-kanban/src/core/userena/contrib/umessages/managers.py/MessageContactManager.get_contacts_for--crossover with--dataset/ETHPy150Open bolme/pyvision/src/pyvision/analysis/ImageLog.py/ImageLog.csv