I need to process data then read it. To do it, I use the load_dat function :
data = dict()
data[‘1’] = pd.read_csv(os.path.join(path, ‘test1.csv’))
data[‘2’] = custom_function((os.path.join(path,‘test2.csv’))
If I understand well Streamlit cannot hash an object of type <class ‘dict’>.
How can I use the cache in this situation ?
hash the dictionnary with hash() is possible ? https://stackoverflow.com/questions/5884066/hashing-a-dictionary
Thank for your help !