Skip to content

Commit 5b5e532

Browse files
committed
Merge pull request #2867 from stephenwlin/opt-take-2
ENH: Consolidation and further optimization of take functions in common thanks!
2 parents 9faa8de + f9dfa81 commit 5b5e532

File tree

11 files changed

+1715
-1917
lines changed

11 files changed

+1715
-1917
lines changed

RELEASE.rst

+43-22
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ pandas 0.11.0
3232
- Allow mixed dtypes (e.g ``float32/float64/int32/int16/int8``) to coexist in
3333
DataFrames and propogate in operations
3434
- Add function to pandas.io.data for retrieving stock index components from
35-
Yahoo! finance (#2795)
35+
Yahoo! finance (GH2795_)
3636
- Add ``squeeze`` function to reduce dimensionality of 1-len objects
37-
- Support slicing with time objects (#2681)
37+
- Support slicing with time objects (GH2681_)
3838

3939
**Improvements to existing features**
4040

@@ -46,7 +46,7 @@ pandas 0.11.0
4646
return a datetime64[ns] dtype with non-convertibles set as ``NaT``; will
4747
preserve an all-nan object (e.g. strings)
4848
- Series print output now includes the dtype by default
49-
- Optimize internal reindexing routines for upcasting cases (#2819)
49+
- Optimize internal reindexing routines (GH2819_, GH2867_)
5050
- ``describe_option()`` now reports the default and current value of options.
5151

5252
**API Changes**
@@ -62,7 +62,8 @@ pandas 0.11.0
6262
(float32/float64); other types will be operated on, and will try to cast
6363
back to the input dtype (e.g. if an int is passed, as long as the output
6464
doesn't have nans, then an int will be returned)
65-
- backfill/pad/take/diff/ohlc will now support ``float32/int16/int8`` operations
65+
- backfill/pad/take/diff/ohlc will now support ``float32/int16/int8``
66+
operations
6667
- Integer block types will upcast as needed in where operations (GH2793_)
6768
- Series now automatically will try to set the correct dtype based on passed
6869
datetimelike objects (datetime/Timestamp)
@@ -83,22 +84,31 @@ pandas 0.11.0
8384
(e.g. np.array(datetime(2001,1,1,0,0))), w/o dtype being passed
8485
- 0-dim ndarrays with a passed dtype are handled correctly
8586
(e.g. np.array(0.,dtype='float32'))
86-
- Fix some boolean indexing inconsistencies in Series __getitem__/__setitem__
87+
- Fix some boolean indexing inconsistencies in Series.__getitem__/__setitem__
8788
(GH2776_)
89+
- Fix issues with DataFrame and Series constructor with integers that
90+
overflow ``int64`` and some mixed typed type lists (GH2845_)
8891

8992
``HDFStore``
9093

9194
- Fix weird PyTables error when using too many selectors in a where
92-
- Provide dotted attribute access to ``get`` from stores (e.g. store.df == store['df'])
93-
- Internally, change all variables to be private-like (now have leading underscore)
95+
- Provide dotted attribute access to ``get`` from stores
96+
(e.g. store.df == store['df'])
97+
- Internally, change all variables to be private-like (now have leading
98+
underscore)
9499

95100
.. _GH622: https://github.com/pydata/pandas/issues/622
96101
.. _GH797: https://github.com/pydata/pandas/issues/797
97-
.. _GH2778: https://github.com/pydata/pandas/issues/2778
98-
.. _GH2793: https://github.com/pydata/pandas/issues/2793
99-
.. _GH2751: https://github.com/pydata/pandas/issues/2751
102+
.. _GH2681: https://github.com/pydata/pandas/issues/2681
100103
.. _GH2747: https://github.com/pydata/pandas/issues/2747
104+
.. _GH2751: https://github.com/pydata/pandas/issues/2751
101105
.. _GH2776: https://github.com/pydata/pandas/issues/2776
106+
.. _GH2778: https://github.com/pydata/pandas/issues/2778
107+
.. _GH2793: https://github.com/pydata/pandas/issues/2793
108+
.. _GH2795: https://github.com/pydata/pandas/issues/2795
109+
.. _GH2819: https://github.com/pydata/pandas/issues/2819
110+
.. _GH2845: https://github.com/pydata/pandas/issues/2845
111+
.. _GH2867: https://github.com/pydata/pandas/issues/2867
102112

103113
pandas 0.10.1
104114
=============
@@ -107,7 +117,7 @@ pandas 0.10.1
107117

108118
**New features**
109119

110-
- Add data inferface to World Bank WDI pandas.io.wb (#2592)
120+
- Add data inferface to World Bank WDI pandas.io.wb (GH2592_)
111121

112122
**API Changes**
113123

@@ -125,7 +135,8 @@ pandas 0.10.1
125135
- ``HDFStore``
126136

127137
- enables storing of multi-index dataframes (closes GH1277_)
128-
- support data column indexing and selection, via ``data_columns`` keyword in append
138+
- support data column indexing and selection, via ``data_columns`` keyword
139+
in append
129140
- support write chunking to reduce memory footprint, via ``chunksize``
130141
keyword to append
131142
- support automagic indexing via ``index`` keyword to append
@@ -138,11 +149,14 @@ pandas 0.10.1
138149
- added methods append_to_multiple/select_as_multiple/select_as_coordinates
139150
to do multiple-table append/selection
140151
- added support for datetime64 in columns
141-
- added method ``unique`` to select the unique values in an indexable or data column
152+
- added method ``unique`` to select the unique values in an indexable or
153+
data column
142154
- added method ``copy`` to copy an existing store (and possibly upgrade)
143-
- show the shape of the data on disk for non-table stores when printing the store
144-
- added ability to read PyTables flavor tables (allows compatiblity to other HDF5 systems)
145-
- Add ``logx`` option to DataFrame/Series.plot (GH2327_, #2565)
155+
- show the shape of the data on disk for non-table stores when printing the
156+
store
157+
- added ability to read PyTables flavor tables (allows compatiblity to
158+
other HDF5 systems)
159+
- Add ``logx`` option to DataFrame/Series.plot (GH2327_, GH2565_)
146160
- Support reading gzipped data from file-like object
147161
- ``pivot_table`` aggfunc can be anything used in GroupBy.aggregate (GH2643_)
148162
- Implement DataFrame merges in case where set cardinalities might overflow
@@ -173,11 +187,12 @@ pandas 0.10.1
173187
- Fix DatetimeIndex handling of FixedOffset tz (GH2604_)
174188
- More robust detection of being in IPython session for wide DataFrame
175189
console formatting (GH2585_)
176-
- Fix platform issues with ``file:///`` in unit test (#2564)
190+
- Fix platform issues with ``file:///`` in unit test (GH2564_)
177191
- Fix bug and possible segfault when grouping by hierarchical level that
178192
contains NA values (GH2616_)
179-
- Ensure that MultiIndex tuples can be constructed with NAs (seen in #2616)
180-
- Fix int64 overflow issue when unstacking MultiIndex with many levels (#2616)
193+
- Ensure that MultiIndex tuples can be constructed with NAs (GH2616_)
194+
- Fix int64 overflow issue when unstacking MultiIndex with many levels
195+
(GH2616_)
181196
- Exclude non-numeric data from DataFrame.quantile by default (GH2625_)
182197
- Fix a Cython C int64 boxing issue causing read_csv to return incorrect
183198
results (GH2599_)
@@ -188,12 +203,14 @@ pandas 0.10.1
188203
- Fix C parser-tokenizer bug with trailing fields. (GH2668_)
189204
- Don't exclude non-numeric data from GroupBy.max/min (GH2700_)
190205
- Don't lose time zone when calling DatetimeIndex.drop (GH2621_)
191-
- Fix setitem on a Series with a boolean key and a non-scalar as value (GH2686_)
206+
- Fix setitem on a Series with a boolean key and a non-scalar as value
207+
(GH2686_)
192208
- Box datetime64 values in Series.apply/map (GH2627_, GH2689_)
193209
- Upconvert datetime + datetime64 values when concatenating frames (GH2624_)
194210
- Raise a more helpful error message in merge operations when one DataFrame
195211
has duplicate columns (GH2649_)
196-
- Fix partial date parsing issue occuring only when code is run at EOM (GH2618_)
212+
- Fix partial date parsing issue occuring only when code is run at EOM
213+
(GH2618_)
197214
- Prevent MemoryError when using counting sort in sortlevel with
198215
high-cardinality MultiIndex objects (GH2684_)
199216
- Fix Period resampling bug when all values fall into a single bin (GH2070_)
@@ -204,6 +221,7 @@ pandas 0.10.1
204221
.. _GH1277: https://github.com/pydata/pandas/issues/1277
205222
.. _GH2070: https://github.com/pydata/pandas/issues/2070
206223
.. _GH2327: https://github.com/pydata/pandas/issues/2327
224+
.. _GH2565: https://github.com/pydata/pandas/issues/2565
207225
.. _GH2585: https://github.com/pydata/pandas/issues/2585
208226
.. _GH2599: https://github.com/pydata/pandas/issues/2599
209227
.. _GH2604: https://github.com/pydata/pandas/issues/2604
@@ -232,6 +250,9 @@ pandas 0.10.1
232250
.. _GH2694: https://github.com/pydata/pandas/issues/2694
233251
.. _GH2686: https://github.com/pydata/pandas/issues/2686
234252
.. _GH2618: https://github.com/pydata/pandas/issues/2618
253+
.. _GH2592: https://github.com/pydata/pandas/issues/2592
254+
.. _GH2564: https://github.com/pydata/pandas/issues/2564
255+
.. _GH2616: https://github.com/pydata/pandas/issues/2616
235256

236257
pandas 0.10.0
237258
=============
@@ -708,7 +729,7 @@ pandas 0.9.1
708729
.. _GH2117: https://github.com/pydata/pandas/issues/2117
709730
.. _GH2133: https://github.com/pydata/pandas/issues/2133
710731
.. _GH2114: https://github.com/pydata/pandas/issues/2114
711-
.. _GH2527: https://github.com/pydata/pandas/issues/2114
732+
.. _GH2527: https://github.com/pydata/pandas/issues/2527
712733
.. _GH2128: https://github.com/pydata/pandas/issues/2128
713734
.. _GH2008: https://github.com/pydata/pandas/issues/2008
714735
.. _GH2179: https://github.com/pydata/pandas/issues/2179

0 commit comments

Comments
 (0)