阅读背景:

通过会话密钥访问请求之间的pandas数据帧对象

来源:互联网 

I have a pandas dataframe with a loose wrapper class around it that provides metadata for my django/DRF application. The application is basically a user friendly (non programmer) way to do some data analysis and validation. Between requests I want to be able to save the state of the dataframe so I can have a series of interactions with the data but it does not need to be saved in a database ( It only needs to survive as long as the browser session ). From this it was logical to check out django's session framework, but from what I've heard session data should be lightweight and the dataframe object does not json serialize. I have a pandas dataframe with a loose wrapper




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: