<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def properties_for(self, index):
 """ Returns a list of properties, such that each entry in the list corresponds to the element of the index given. Example: let properties: 'one':[1,2,3,4], 'two':[3,5,6] [['one'], ['one', 'two'], ['two']] """

        return vectorize(lambda i: [prop for prop in self.properties() if i in self[prop]], otypes=[list])(index)