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/whatsnew/v0.18.0.txt
+34
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ Highlights include:
19
19
20
20
- Window functions are now methods on ``.groupby`` like objects, see :ref:`here <whatsnew_0180.enhancements.moments>`.
21
21
- ``pd.test()`` top-level nose test runner is available (:issue:`4327`)
22
+
- Adding support for a ``RangeIndex`` as a specialized form of the ``Int64Index`` for memory savings, see :ref:`here <whatsnew_0180.enhancements.rangeindex>`.
22
23
23
24
Check the :ref:`API Changes <whatsnew_0180.api>` and :ref:`deprecations <whatsnew_0180.deprecations>` before updating.
24
25
@@ -102,6 +103,39 @@ And multiple aggregations
102
103
r.agg({'A' : ['mean','std'],
103
104
'B' : ['mean','std']})
104
105
106
+
.. _whatsnew_0180.enhancements.rangeindex:
107
+
108
+
Range Index
109
+
^^^^^^^^^^^
110
+
111
+
A ``RangeIndex`` has been added to the ``Int64Index`` sub-classes to support a memory saving alternative for common use cases. This has a similar implementation to the python ``range`` object (``xrange`` in python 2), in that it only stores the start, stop, and step values for the index. It will transparently interact with the user API, converting to ``Int64Index`` if needed.
112
+
113
+
This will now be the default constructed index for ``NDFrame`` objects, rather than previous an ``Int64Index``. (:issue:`939`)
0 commit comments