Skip to content

Instantly share code, notes, and snippets.

@Venkatstatistics
Last active August 10, 2019 05:34
Show Gist options
  • Save Venkatstatistics/b160221572ed60496986a995c2845ffc to your computer and use it in GitHub Desktop.
Save Venkatstatistics/b160221572ed60496986a995c2845ffc to your computer and use it in GitHub Desktop.
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