Skip to content

Commit

Permalink
Database makes it 100X better for interacting with the dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
theriley106 committed Dec 29, 2018
1 parent 2f19feb commit db4ed9b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions getDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ def run_command(sqlCommand):
rows = cur.fetchall()
return rows




if __name__ == '__main__':
result = run_command("""SELECT * FROM comments WHERE (body != "[deleted]")""")
print len(result)

0 comments on commit db4ed9b

Please sign in to comment.