본문 바로가기
Python Library/Pandas

[Pandas] 피클 불러오기

by goatlab 2022. 6. 3.
728x90
반응형
SMALL

피클 불러오기

 

import pickle
import pandas as pd

temp_dict = {'name': 'S', 'id': 1}

with open('XXX', 'rb') as f:
	data = pickle.load(f)

temp = pd.DataFrame({'a':[1], 'b':[2]})
data = pd.read_pickle('XXX.pkl')
728x90
반응형
LIST