Skip to content

Commit

Permalink
quick variable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pshapiro committed Sep 2, 2016
1 parent 9ff2505 commit ce6516b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion GoogleTrendsSlopeCalculator.py
Expand Up @@ -15,7 +15,7 @@
path = ""

# Specify the filename of a CSV with a list of keywords in the variable, keyordcsv. The CSV should be one column, with header equal to Keywords (case sensitive).
keywordcsv = ""
keywordcsv = "keywords.csv"
keywords = pd.read_csv(keywordcsv)

# Downloads and Calculate Slope:
Expand Down
1 change: 1 addition & 0 deletions keywords.csv
Expand Up @@ -4,3 +4,4 @@ football
soccer
tennis
golf
hot dog
11 changes: 6 additions & 5 deletions trends_slope.csv
@@ -1,6 +1,7 @@
keyword,slope
baseball,-1.8846153846153868
football,2.03846153846154
soccer,-3.9230769230769234
tennis,0.5576923076923102
golf,0.5384615384615401
baseball,-1.5192307692307665
football,2.115384615384613
soccer,-3.73076923076923
tennis,0.8461538461538467
golf,0.6153846153846132
hot dog,3.5

0 comments on commit ce6516b

Please sign in to comment.