Import User:YuviPanda/replicahelper.ipynb for easy access to db replicas

In [1]:
from paws.YuviPanda.replicahelper import sql

How many pages are in the english wikipedia corpus?

In [2]:
for r in sql("select count(*) from page", {}, "enwiki_p"):
    print(r)
{'count(*)': 44398941}
In [ ]:
 
In [ ]: