@@ -6,7 +6,7 @@ v0.11.0 (March ??, 2013)
6
6
This is a major release from 0.10.1 and includes many new features and
7
7
enhancements along with a large number of bug fixes. The methods of Selecting
8
8
Data have had quite a number of additions, and Dtype support is now full-fledged.
9
- There are also a number of important API changes that long-time pandas users should
9
+ There are also a number of important API changes that long-time pandas users should
10
10
pay close attention to.
11
11
12
12
There is a new section in the documentation, :ref:`10 Minutes to Pandas <10min>`,
@@ -38,25 +38,25 @@ three types of multi-axis indexing.
38
38
39
39
See more at :ref:`Selection by Label <indexing.label>`
40
40
41
- - ``.iloc`` is strictly integer position based (from 0 to length-1 of the axis), will
41
+ - ``.iloc`` is strictly integer position based (from 0 to length-1 of the axis), will
42
42
raise ``IndexError`` when the requested indicies are out of bounds. Allowed inputs are:
43
43
44
44
- An integer e.g. ``5``
45
45
- A list or array of integers ``[4, 3, 0]``
46
46
- A slice object with ints ``1:7``
47
47
- A boolean array
48
48
49
- See more at :ref:`Selection by Position <indexing.integer>`
49
+ See more at :ref:`Selection by Position <indexing.integer>`
50
50
51
51
- ``.ix`` supports mixed integer and label based access. It is primarily label based, but
52
- will fallback to integer positional access. ``.ix`` is the most general and will support
52
+ will fallback to integer positional access. ``.ix`` is the most general and will support
53
53
any of the inputs to ``.loc`` and ``.iloc``, as well as support for floating point label schemes.
54
54
55
- As using integer slices with ``.ix`` have different behavior depending on whether the slice
56
- is interpreted as integer location based or label position based, it's usually better to be
55
+ As using integer slices with ``.ix`` have different behavior depending on whether the slice
56
+ is interpreted as integer location based or label position based, it's usually better to be
57
57
explicit and use ``.iloc`` (integer location) or ``.loc`` (label location).
58
58
59
- ``.ix`` is especially usefull when dealing with mixed positional/label based hierarchial indexes.
59
+ ``.ix`` is especially usefull when dealing with mixed positional/label based hierarchial indexes.
60
60
61
61
See more at :ref:`Advanced Indexing <indexing.advanced>` and :ref:`Advanced Hierarchical <indexing.advanced_hierarchical>`
62
62
@@ -92,8 +92,8 @@ Numeric dtypes will propagate and can coexist in DataFrames. If a dtype is passe
92
92
df1 = DataFrame(randn(8, 1), columns = ['A'], dtype = 'float32')
93
93
df1
94
94
df1.dtypes
95
- df2 = DataFrame(dict( A = Series(randn(8),dtype='float16'),
96
- B = Series(randn(8)),
95
+ df2 = DataFrame(dict( A = Series(randn(8),dtype='float16'),
96
+ B = Series(randn(8)),
97
97
C = Series(randn(8),dtype='uint8') ))
98
98
df2
99
99
df2.dtypes
@@ -266,10 +266,10 @@ Enhancements
266
266
``above_below``. This allows the user to specify if they would like to
267
267
only return forward looking data for options near the current stock
268
268
price. This just obtains the data from Options.get_near_stock_price
269
- instead of Options.get_xxx_data().
269
+ instead of Options.get_xxx_data(). (GH2758_)
270
270
271
271
- added option `display.max_seq_items` to control the number of
272
- elements printed per sequence pprinting it.
272
+ elements printed per sequence pprinting it. (GH2979_)
273
273
274
274
- added option `display.chop_threshold` to control display of small numerical
275
275
values. (GH2739_)
@@ -284,48 +284,6 @@ Enhancements
284
284
the collections.Mapping ABC.
285
285
286
286
287
-
288
- Bug Fixes
289
- ~~~~~~~~~
290
-
291
- - Timedeltas are now fully operational (closes GH2898_)
292
-
293
- .. ipython:: python
294
-
295
- from datetime import datetime, timedelta
296
- s = Series(date_range('2012-1-1', periods=3, freq='D'))
297
- td = Series([ timedelta(days=i) for i in range(3) ])
298
- df = DataFrame(dict(A = s, B = td))
299
- df
300
- s - s.max()
301
- df['C'] = df['A'] + df['B']
302
- df
303
- df.dtypes
304
-
305
- # timedelta are representas as ``NaT``
306
- y = s - s.shift()
307
- y
308
-
309
- # can be set via ``np.nan``
310
- y[1] = np.nan
311
- y
312
-
313
- # works on lhs too
314
- s.max() - s
315
-
316
- # some timedelta numeric operations are supported
317
- td - timedelta(minutes=5,seconds=5,microseconds=5)
318
-
319
- - Fixed slow printing of large Dataframes, due to inefficient dtype
320
- reporting (GH2807_)
321
- - Fixed a segfault when using a function as grouper in groupby (GH3035_)
322
- - Fix pretty-printing of infinite data structures (closes GH2978_)
323
- - Fixed exception when plotting timeseries bearing a timezone (closes GH2877_)
324
- - str.contains ignored na argument (GH2806_)
325
- - Substitute warning for segfault when grouping with categorical grouper
326
- of mismatched length (GH3011_)
327
-
328
-
329
287
See the `full release notes
330
288
<https://github.com/pydata/pandas/blob/master/RELEASE.rst>`__ or issue tracker
331
289
on GitHub for a complete list.
@@ -343,3 +301,5 @@ on GitHub for a complete list.
343
301
.. _GH2807: https://github.com/pydata/pandas/issues/2807
344
302
.. _GH2918: https://github.com/pydata/pandas/issues/2918
345
303
.. _GH3011: https://github.com/pydata/pandas/issues/3011
304
+ .. _GH2979: https://github.com/pydata/pandas/issues/2979
305
+ .. _GH2758: https://github.com/pydata/pandas/issues/2758
0 commit comments