Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
danozgriff committed Feb 20, 2017
1 parent 365a6f6 commit c06fd14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ def standard_deviation(tidm):
ssd = sum(sq_differences)

#print('This is SAMPLE standard deviation.')
print "tidm: %s numitems: %d ssd: %f" % (tidm, num_items, ssd)
variance = ssd / (num_items - 1)
sd = sqrt(variance)
# You could `return sd` here.
Expand Down

0 comments on commit c06fd14

Please sign in to comment.