I'm trying to run a simple code here which simply inserts a value into a key using the PFADD operation but I get this error:
ResponseError: unknown command 'PFADD'
My code is as follows:
import pandas as pd
import redis
r = redis.StrictRedis(host='localhost', port=6379, db=0)
r.pfadd("k", 2, 3, 4, 4, 5, 6, 7, 3, 4,)
- Python version: 2
- Pandas version: 0.19.0
- Redis Version: 2.10.5`
Am I missing something here?