Skip to content

Conversation

@josephbwagner
Copy link

… :issue:'14488'

chunksize=chunksize, dtype=dtype)

def to_pickle(self, path):
def to_pickle(self, path, protocol):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

protocol should be an optional argument here. You'll probably need to have the default be None, and then determine the correct protocol based on the python version (see pandas.compat). The default should be the same as python's default.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually HIGHEST_PROTOCOL should work I think.

@jreback
Copy link
Contributor

jreback commented Dec 6, 2016

can you rebase

@jreback jreback added API Design Compat pandas objects compatability with Numpy or Python functions labels Dec 6, 2016
@jreback
Copy link
Contributor

jreback commented Dec 30, 2016

closing as stale, but if you would like to update, pls comment.

@jbschiratti
Copy link
Contributor

jbschiratti commented May 5, 2017

If the original author @beverast lost interest in the PR, I would like to take over.
I am also interested in having an optional parameter protocol to the to_pickle function.
cc @jreback

@jreback
Copy link
Contributor

jreback commented May 5, 2017

sure u can start with the commits here if u like
open a new PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API Design Compat pandas objects compatability with Numpy or Python functions

5 participants