Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
I have saved compressed pickle files in a managed folder. Normally, I read it as follows:
with open(pickle_file,'''rb') as f:
load(f)
How do I read it from a managed folder?
Hi @pkansal,
You can read objects from managed folders, including pickle files like so:
import dataiku
folder = dataiku.Folder("folder_name")
with folder.get_download_stream(pickle_file) as f:
model = f.read()
Let us know if you have any questions about this.
Thank you,
Sarina
The file is compressed with LZMA. How do I specify that compression here?