diff --git a/dump.py b/dump.py index 91339a3..32727fa 100644 --- a/dump.py +++ b/dump.py @@ -1,9 +1,10 @@ import settings import tweepy import dataset +from datafreeze import freeze from textblob import TextBlob db = dataset.connect(settings.CONNECTION_STRING) result = db[settings.TABLE_NAME].all() -dataset.freeze(result, format='csv', filename=settings.CSV_NAME) \ No newline at end of file +freeze(result, format='csv', filename=settings.CSV_NAME) diff --git a/requirements.txt b/requirements.txt index d5b21f6..0e620b2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,4 +6,5 @@ numpy pandas dataset psycopg2 -textblob \ No newline at end of file +textblob +datafreeze