def __get_location(self, function, column):
        "Returns a row or cell based on function and column."
        row = self.__data_area[function(self.__data_area)]
        if column is None:
            return tuple(row[index] for index in sorted(row))
        return row[self.__columns[column][1]]
Returns a row or cell based on function and column.
recipes/Python/577825_Rudimentary_Database_Engine/recipe-577825.py