(df, path, split_size=3, inplace=False)
return
path = '../output/mydf'
    
    wirte '../output/mydf/0.p'
          '../output/mydf/1.p'
          '../output/mydf/2.p'
path = '../output/mydf'
    
    wirte '../output/mydf/0.p'
          '../output/mydf/1.p'
          '../output/mydf/2.p'
path = .. / output / mydf wirte .. / output / mydf / 0 . p .. / output / mydf / 1 . p .. / output / mydf / 2 . p
def to_pickles(df, path, split_size=3, inplace=False):
    """
    path = '../output/mydf'
    
    wirte '../output/mydf/0.p'
          '../output/mydf/1.p'
          '../output/mydf/2.p'
    
    """
    if inplace==True:
        df.reset_index(drop=True, inplace=True)
    else:
        df = df.reset_index(drop=True)
    mkdir_p(path)
    
    for i in tqdm(range(split_size)):
        df.ix[df.index%split_size==i].to_pickle(path+'/{}.p'.format(i))
    
    return
def to_pickles ( df , path , split_size = 3 , inplace = False ) : if inplace == True : df . reset_index ( drop = True , inplace = True ) else : df = df . reset_index ( drop = True ) mkdir_p ( path ) for i in tqdm ( range ( split_size ) ) : df . ix [ df . index % split_size == i ] . to_pickle ( path + '/{}.p' . format ( i ) ) return