Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

save multiple df to pkl

import os

out = 'mypathmyfolder'

df_list = [df1, df2, df3, df4]
for i, df in enumerate(df_list, 1):
    df.to_pickle(os.path.join(out, f'df{i}.pkl')
Comment

PREVIOUS NEXT
Code Example
Python :: Streaming upload requests python 
Python :: Extract all bounding boxes using OpenCV Python 
Python :: COLLECTING 
Python :: ascending order in python using bubble sort 
Python :: python get next item from generator 
Python :: imshow show nan as black 
Python :: qaction disacble python 
Python :: python as-lookup 
Python :: how do i select a range of columns by index 
Python :: como usar o Self no python 
Python :: snipe cmd python.py 
Python :: n largest python 
Python :: how to convert ui file to py file 
Python :: how to open an application in python 
Python :: how to do square roots in python 
Python :: convert pine script to python online 
Python :: syntax error python 
Python :: python pandas if statement 
Python :: how to remove a specific element from an array in python 
Python :: panda 
Python :: ros python service client 
Python :: math in python 
Python :: flask app.route 
Python :: Python list tutorial for beginners 
Python :: np.pad 
Python :: match in python 
Python :: add key to dictionairy 
Python :: pine script to python 
Python :: fill na with average pandas 
Python :: python if elif else syntax 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =