Last active
August 10, 2019 05:34
-
-
Save Venkatstatistics/b160221572ed60496986a995c2845ffc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import sys | |
import pandas as pd | |
import numpy as np | |
from operator import itemgetter | |
import redis | |
#by default Redis runs on port 6379, the below is the url | |
REDIS_URL = "redis://localhost:6379/0" | |
r = redis.Redis(host='localhost', port=6379, db=0) #the object r is created |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment