forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathv0.12.0.txt
42 lines (29 loc) · 1.21 KB
/
v0.12.0.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.. _whatsnew_0120:
v0.12.0 (??????)
----------------
This is a major release from 0.11.1 and includes many new features and
enhancements along with a large number of bug fixes. There are also a
number of important API changes that long-time pandas users should
pay close attention to.
Enhancements
~~~~~~~~~~~~
- ``pd.read_msgpack()`` and ``pd.to_msgpack()`` are now a supported method of serialization
of arbitrary pandas (and python objects) in a lightweight portable binary format
.. ipython:: python
df = DataFrame(np.random.rand(5,2),columns=list('AB'))
df.to_msgpack('foo.msg')
pd.read_msgpack('foo.msg')
s = Series(np.random.rand(5),index=date_range('20130101',periods=5))
pd.to_msgpack('foo.msg', df, s)
pd.read_msgpack('foo.msg')
You can pass ``iterator=True`` to iterator over the unpacked results
.. ipython:: python
for o in pd.read_msgpack('foo.msg',iterator=True):
print o
.. ipython:: python
:suppress:
:okexcept:
os.remove('foo.msg')
See the `full release notes
<https://github.com/pydata/pandas/blob/master/RELEASE.rst>`__ or issue tracker
on GitHub for a complete list.