def search(self, queries=None):
        # Return a dictionary that contains the average running time
        data = defaultdict(list)
        for title, value in self._run_search(queries):
            data[title].append(value[0])
        for title in data.keys():
            data[title] = sorted(data[title])[int(len(data[title])/2)] # Median
            #data[title] = int(sum(data[title])/len(data[title])) # Mean
        return data
dataset/ETHPy150Open nandhp/python-imdb/imdb/parsers.py/IMDbRunningTimeParser.search/original