Rebecca Solcia
03/13/2023, 12:03 PM05_07_FocusDatasource_PKL:
type: kedro.extras.datasets.pickle.PickleDataSet
filepath: data/02_intermediate/05_07_FocusDatasource.pkl
But when I call catalog.load('05_07_FocusDatasource_PKL')
it tells me that it is a function
<function focus_pickle at 0x7fbff82af040>
Any suggestions on how I can load that dataset?Nok Lam Chan
03/13/2023, 12:27 PMcatalog.load
will load the dataset. What is saved in that pickle file?
Equivalent you can confirm this is the content saved in the pickle file.
import pickle
with open("<absolute_path_of_the_file>) as f:
dataset = pickle.load(f)
print(dataset)