def get_recent_avg_weights(self, hours = 0, minutes = 0, seconds = 0):
        gathered = self.get_recent_hits_and_weights(hours, minutes, seconds)
        for date, hits, weight in gathered:
            if weight == 0 or hits == 0:
                yield date, 0
            else:
                yield date, hits / float(weight)
dataset/ETHPy150Open simonw/django-redis-monitor/django_redis_monitor/redis_monitor.py/RedisMonitor.get_recent_avg_weights/swapped operands of `/`