pickle是python语言的一个标准模块,安装python后已包含pickle库,不需要单独再安装。
import pickle pickle.dump(questionID_1_column, open(r'附件/XXX.pkl', 'wb'))
import pickle X = pickle.load(open(r'附件/XXX.pkl', 'rb'))