#!/usr/bin/env python # coding: utf-8 # In[1]: import logging logging.basicConfig(level=logging.INFO) from pystatis import Table, clear_cache # In[2]: # first, let's download two data sets # these will be cached under your Table(name="21311-0001").get_data() # In[3]: # You can now test the clear_cache function! # Either with a particular name clear_cache("21311-0001") # In[ ]: # Or without a name to clear the whole cache at once clear_cache()