Write data
Write any Python object to Pickle file
You can save any Python object to Pickle file. You can persist Python object on hard drive and load it later also with Pickle module. This is great!
pickle
Interactive recipe
You can use below interactive recipe to generate code. This recipe is available in MLJAR Studio.
In the below recipe, we assume that you have following variables available in your notebook:
- df_1 (type DataFrame)
- df_2 (type DataFrame)
Python code
# Python code will be here
Code explanation
- Construct the file path from selected folder and file name.
- Save Python object to pickle format.
- Print success message.
- « Previous
- Write Parquet
- Next »
- Postgresql