Skip to content

Commit 0e17518

Browse files
committed
Merge pull request #2922 from jreback/by_loc
ENH: add .iloc attribute to provide location-based indexing
2 parents 7b5fae9 + 41793ea commit 0e17518

19 files changed

+2246
-269
lines changed

RELEASE.rst

+11
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,19 @@ pandas 0.11.0
2929

3030
**New features**
3131

32+
- New documentation section, ``10 Minutes to Pandas``
3233
- Allow mixed dtypes (e.g ``float32/float64/int32/int16/int8``) to coexist in
3334
DataFrames and propogate in operations
3435
- Add function to pandas.io.data for retrieving stock index components from
3536
Yahoo! finance (GH2795_)
3637
- Add ``squeeze`` function to reduce dimensionality of 1-len objects
3738
- Support slicing with time objects (GH2681_)
39+
- Added ``.iloc`` attribute, to support strict integer based indexing, analagous to ``.ix`` (GH2922_)
40+
- Added ``.loc`` attribute, to support strict label based indexing, analagous to ``.ix``
41+
- Added ``.iat`` attribute, to support fast scalar access via integers (replaces ``iget_value/iset_value``)
42+
- Added ``.at`` attribute, to support fast scalar access via labels (replaces ``get_value/set_value``)
43+
- Moved functionaility from ``irow,icol,iget_value/iset_value`` to ``.iloc`` indexer
44+
(via ``_ixs`` methods in each object)
3845

3946
**Improvements to existing features**
4047

@@ -51,6 +58,8 @@ pandas 0.11.0
5158
- ``describe_option()`` now reports the default and current value of options.
5259
- Add ``format`` option to ``pandas.to_datetime`` with faster conversion of
5360
strings that can be parsed with datetime.strptime
61+
- Add ``axes`` property to ``Series`` for compatibility
62+
- Add ``xs`` function to ``Series`` for compatibility
5463

5564
**API Changes**
5665

@@ -127,6 +136,7 @@ pandas 0.11.0
127136
- Bug on in-place putmasking on an ``integer`` series that needs to be converted to ``float`` (GH2746_)
128137
- Bug in argsort of ``datetime64[ns]`` Series with ``NaT`` (GH2967_)
129138
- Bug in idxmin/idxmax of ``datetime64[ns]`` Series with ``NaT`` (GH2982__)
139+
- Bug in ``icol`` with negative indicies was incorrect producing incorrect return values (see GH2922_)
130140

131141
.. _GH622: https://github.com/pydata/pandas/issues/622
132142
.. _GH797: https://github.com/pydata/pandas/issues/797
@@ -145,6 +155,7 @@ pandas 0.11.0
145155
.. _GH2849: https://github.com/pydata/pandas/issues/2849
146156
.. _GH2898: https://github.com/pydata/pandas/issues/2898
147157
.. _GH2909: https://github.com/pydata/pandas/issues/2909
158+
.. _GH2922: https://github.com/pydata/pandas/issues/2922
148159
.. _GH2931: https://github.com/pydata/pandas/issues/2931
149160
.. _GH2973: https://github.com/pydata/pandas/issues/2973
150161
.. _GH2967: https://github.com/pydata/pandas/issues/2967

0 commit comments

Comments
 (0)