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
- ``DataFrame.plot`` and ``Series.plot`` keywords are now have consistent orders (:issue:`8037`)
261
266
262
-
- Implements methods to find memory usage of a DataFrame (:issue:`6852`). A new display option ``display.memory_usage`` (see :ref:`options`) sets the default behavior of the ``memory_usage`` argument in the ``df.info()`` method; by default ``display.memory_usage`` is True but this can be overridden by explicitly passing the memory_usage argument to the df.info() method, as shown below. Additionally `memory_usage` is an available method for a dataframe object which returns the memory usage of each column (for more information see :ref:`df-memory-usage`):
267
+
.. _whatsnew_0150.memory:
263
268
264
-
.. ipython:: python
269
+
Memory Usage
270
+
~~~~~~~~~~~~~
271
+
272
+
Implemented methods to find memory usage of a DataFrame. See the :ref:`FAQ <df-memory-usage>` for more. (:issue:`6852`).
265
273
266
-
df = DataFrame({ 'float' : np.random.randn(1000), 'int' : np.random.randint(0,5,size=1000)})
267
-
df.memory_usage()
274
+
A new display option ``display.memory_usage`` (see :ref:`options`) sets the default behavior of the ``memory_usage`` argument in the ``df.info()`` method. By default ``display.memory_usage`` is ``True``.
@@ -719,7 +741,8 @@ Finally, the combination of ``TimedeltaIndex`` with ``DatetimeIndex`` allow cert
719
741
Prior Version Deprecations/Changes
720
742
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
721
743
722
-
There are no prior version deprecations that are taking effect as of 0.15.0.
744
+
- Remove ``DataFrame.delevel`` method in favor of ``DataFrame.reset_index``
745
+
(:issue:`420`)
723
746
724
747
.. _whatsnew_0150.deprecations:
725
748
@@ -732,8 +755,7 @@ Deprecations
732
755
``ambiguous`` to allow for more flexibility in dealing with DST transitions.
733
756
Replace ``infer_dst=True`` with ``ambiguous='infer'`` for the same behavior (:issue:`7943`).
734
757
See :ref:`the docs<timeseries.timezone_ambiguous>` for more details.
735
-
- Remove ``DataFrame.delevel`` method in favor of ``DataFrame.reset_index``
736
-
(:issue:`420`)
758
+
737
759
.. _whatsnew_0150.index_set_ops:
738
760
739
761
- The ``Index`` set operations ``+`` and ``-`` were deprecated in order to provide these for numeric type operations on certain index types. ``+`` can be replace by ``.union()`` or ``|``, and ``-`` by ``.difference()``. Further the method name ``Index.diff()`` is deprecated and can be replaced by ``Index.difference()`` (:issue:`8226`)
0 commit comments