Data Science, Python, Pandas.
names=[‘coming_from’, ‘article’, ‘referrer_type’, ‘n’], dtype={ ‘referrer_type’: ‘category’, ’n’: ‘uint32’} ) Finally, let’s limit the data frame size to the first 100k rows for the sake of speed. Note that this is usually a bad idea; when sampling a subset, it’s far more appropriate to sample