作者热门文章
- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
在 Python 中有函数 zrangebyscore:
[zrangebyscore(self, name, min, max, start=None, num=None,withscores=False, score_cast_func=float)]
我想让排序集中的所有元素的分数 > min 并且没有限制 max这是如何工作的?
最佳答案
指定 min
作为要求的最低分数。将 max
指定为无穷大。
您可能想知道如何pass infinity to redis from python .
关于python - 限制redis python中zrangbycore函数的最小最大值?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20876501/
我是一名优秀的程序员,十分优秀!