You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/v0.13.0.txt
+32-9
Original file line number
Diff line number
Diff line change
@@ -464,6 +464,15 @@ Enhancements
464
464
t = Timestamp('20130101 09:01:02')
465
465
t + pd.datetools.Nano(123)
466
466
467
+
- The ``isin`` method plays nicely with boolean indexing. To get the rows where each condition is met:
468
+
469
+
.. ipython:: python
470
+
471
+
mask = df.isin({'A': [1, 2], 'B': ['e', 'f']})
472
+
df[mask.all(1)]
473
+
474
+
See the :ref:`documentation<indexing.basics.indexing_isin>` for more.
475
+
467
476
.. _whatsnew_0130.experimental:
468
477
469
478
Experimental
@@ -553,21 +562,35 @@ Experimental
553
562
For more details see the :ref:`indexing documentation on query
554
563
<indexing.query>`.
555
564
556
-
- DataFrame now has an ``isin`` method that can be used to easily check whether the DataFrame's values are contained in an iterable. Use a dictionary if you'd like to check specific iterables for specific columns or rows.
565
+
- ``pd.read_msgpack()`` and ``pd.to_msgpack()`` are now a supported method of serialization
566
+
of arbitrary pandas (and python objects) in a lightweight portable binary format. :ref:`See the docs<io.msgpack>`
557
567
558
-
.. ipython:: python
568
+
.. warning::
569
+
570
+
Since this is an EXPERIMENTAL LIBRARY, the storage format may not be stable until a future release.
0 commit comments