@@ -3058,13 +3058,17 @@ any pickled pandas object (or any other pickled object) from file:
3058
3058
3059
3059
Loading pickled data received from untrusted sources can be unsafe.
3060
3060
3061
- See: http ://docs.python.org/2.7 /library/pickle.html
3061
+ See: https ://docs.python.org/3.6 /library/pickle.html
3062
3062
3063
3063
.. warning ::
3064
3064
3065
- Pickled data must
3066
- be read with ``pd.read_pickle ``, rather than the default python ``pickle.load ``.
3067
- See `this question <http://stackoverflow.com/questions/20444593/pandas-compiled-from-source-default-pickle-behavior-changed >`__
3065
+ Several internal refactorings over time have done to pandas while preserving
3066
+ compatibility with pickles created with prior versions. However, in such
3067
+ cases, where there are changes to the data structures between pandas
3068
+ versions, pickled data must be read with ``pd.read_pickle `` to be read
3069
+ correctly, rather than the default python ``pickle.load ``. It is therefore
3070
+ recommended to read pickled dataframes, series etc. using
3071
+ ``pd.read_pickle ``. See `this question <http://stackoverflow.com/questions/20444593/pandas-compiled-from-source-default-pickle-behavior-changed >`__
3068
3072
for a detailed explanation.
3069
3073
3070
3074
.. _io.pickle.compression :
@@ -3851,11 +3855,7 @@ create a new table!)
3851
3855
Iterator
3852
3856
++++++++
3853
3857
3854
- <<<<<<< HEAD
3855
3858
You can pass ``iterator=True `` or ``chunksize=number_in_a_chunk ``
3856
- =======
3857
- Note that you can pass ``iterator=True `` or ``chunksize=number_in_a_chunk ``
3858
- >>>>>>> Cleaned references to versions <0.12 in docs
3859
3859
to ``select `` and ``select_as_multiple `` to return an iterator on the results.
3860
3860
The default is 50,000 rows returned in a chunk.
3861
3861
0 commit comments