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/release.rst
+7-13
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ API Changes
86
86
for a Series with a ``DatetimeIndex`` or a ``PeriodIndex``; trying this on a non-supported Index type will
87
87
now raise a ``TypeError``. (:issue:`4551`, :issue:`4056`, :issue:`5519`)
88
88
89
-
The following affected:
89
+
The following are affected:
90
90
91
91
- ``date,time,year,month,day``
92
92
- ``hour,minute,second,weekofyear``
@@ -135,26 +135,20 @@ API Changes
135
135
the name of the inserted column containing the pivoted data.
136
136
137
137
- Allow specification of a more complex groupby, via ``pd.Grouper`` (:issue:`3794`)
138
-
139
138
- A tuple passed to ``DataFame.sort_index`` will be interpreted as the levels of
140
139
the index, rather than requiring a list of tuple (:issue:`4370`)
141
-
142
140
- Fix a bug where invalid eval/query operations would blow the stack (:issue:`5198`)
143
-
144
141
- Following keywords are now acceptable for :meth:`DataFrame.plot` with ``kind='bar'`` and ``kind='barh'``:
145
142
146
143
- `width`: Specify the bar width. In previous versions, static value 0.5 was passed to matplotlib and it cannot be overwritten. (:issue:`6604`)
147
-
148
-
- `align`: Specify the bar alignment. Default is `center` (different from matplotlib). In previous versions, pandas passes `align='edge'` to matplotlib and adjust the location to `center` by itself, and it results `align` keyword is not applied as expected. (:issue:`4525`)
149
-
144
+
- `align`: Specify the bar alignment. Default is `center` (different from matplotlib). In previous versions, pandas passes `align='edge'` to
145
+
matplotlib and adjust the location to `center` by itself, and it results `align` keyword is not applied as expected. (:issue:`4525`)
150
146
- `position`: Specify relative alignments for bar plot layout. From 0 (left/bottom-end) to 1 (right/top-end). Default is 0.5 (center). (:issue:`6604`)
151
147
152
148
- Define and document the order of column vs index names in query/eval (:issue:`6676`)
153
-
154
149
- ``DataFrame.sort`` now places NaNs at the beginning or end of the sort according to the ``na_position`` parameter. (:issue:`3917`)
155
150
- ``stack`` and ``unstack`` now raise a ``ValueError`` when the ``level`` keyword refers
156
151
to a non-unique item in the ``Index`` (previously raised a ``KeyError``). (:issue:`6738`)
157
-
158
152
- all offset operations now return ``Timestamp`` types (rather than datetime), Business/Week frequencies were incorrect (:issue:`4069`)
159
153
- ``Series.iteritems()`` is now lazy (returns an iterator rather than a list). This was the documented behavior prior to 0.14. (:issue:`6760`)
160
154
- ``Panel.shift`` now uses ``NDFrame.shift``. It no longer drops the ``nan`` data and retains its original shape. (:issue:`4867`)
@@ -163,19 +157,19 @@ API Changes
163
157
representation) (:issue:`6782`)
164
158
- Arithmetic ops are now disallowed when passed two bool dtype Series or
165
159
DataFrames (:issue:`6762`).
166
-
167
160
- Added ``nunique`` and ``value_counts`` functions to ``Index`` for counting unique elements. (:issue:`6734`)
168
161
169
162
- ``DataFrame.plot`` and ``Series.plot`` now support a ``table`` keyword for plotting ``matplotlib.Table``. The ``table`` kewyword can receive the following values.
170
163
171
164
- ``False``: Do nothing (default).
172
-
173
165
- ``True``: Draw a table using the ``DataFrame`` or ``Series`` called ``plot`` method. Data will be transposed to meet matplotlib's default layout.
174
-
175
166
- ``DataFrame`` or ``Series``: Draw matplotlib.table using the passed data. The data will be drawn as displayed in print method (not transposed automatically).
176
-
177
167
Also, helper function ``pandas.tools.plotting.table`` is added to create a table from ``DataFrame`` and ``Series``, and add it to an ``matplotlib.Axes``.
178
168
169
+
- drop unused order argument from ``Series.sort``; args now in the same orders as ``Series.order``;
170
+
add ``na_position`` arg to conform to ``Series.order`` (:issue:`6847`)
171
+
- default sorting algorithm for ``Series.order`` is not ``quicksort``, to conform with ``Series.sort``
Copy file name to clipboardExpand all lines: doc/source/v0.14.0.txt
+5-15
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ API changes
65
65
for a Series with a ``DatetimeIndex`` or a ``PeriodIndex``; trying this on a non-supported Index type will
66
66
now raise a ``TypeError``. (:issue:`4551`, :issue:`4056`, :issue:`5519`)
67
67
68
-
The following affected:
68
+
The following are affected:
69
69
70
70
- ``date,time,year,month,day``
71
71
- ``hour,minute,second,weekofyear``
@@ -208,6 +208,10 @@ API changes
208
208
- Added ``nunique`` and ``value_counts`` functions to ``Index`` for counting unique elements. (:issue:`6734`)
209
209
- ``stack`` and ``unstack`` now raise a ``ValueError`` when the ``level`` keyword refers
210
210
to a non-unique item in the ``Index`` (previously raised a ``KeyError``).
211
+
- drop unused order argument from ``Series.sort``; args now in the same orders as ``Series.order``;
212
+
add ``na_position`` arg to conform to ``Series.order`` (:issue:`6847`)
213
+
- default sorting algorithm for ``Series.order`` is not ``quicksort``, to conform with ``Series.sort``
214
+
(and numpy defaults)
211
215
212
216
.. _whatsnew_0140.sql:
213
217
@@ -329,20 +333,15 @@ Plotting
329
333
~~~~~~~~
330
334
331
335
- Hexagonal bin plots from ``DataFrame.plot`` with ``kind='hexbin'`` (:issue:`5478`), See :ref:`the docs<visualization.hexbin>`.
332
-
333
336
- Plotting with Error Bars is now supported in the ``.plot`` method of ``DataFrame`` and ``Series`` objects (:issue:`3796`), See :ref:`the docs<visualization.errorbars>`.
334
-
335
337
- ``DataFrame.plot`` and ``Series.plot`` now support a ``table`` keyword for plotting ``matplotlib.Table``, See :ref:`the docs<visualization.table>`.
336
-
337
338
- ``plot(legend='reverse')`` will now reverse the order of legend labels for
338
339
most plot kinds. (:issue:`6014`)
339
340
340
341
- Following keywords are now acceptable for :meth:`DataFrame.plot(kind='bar')` and :meth:`DataFrame.plot(kind='barh')`.
341
342
342
343
- `width`: Specify the bar width. In previous versions, static value 0.5 was passed to matplotlib and it cannot be overwritten. (:issue:`6604`)
343
-
344
344
- `align`: Specify the bar alignment. Default is `center` (different from matplotlib). In previous versions, pandas passes `align='edge'` to matplotlib and adjust the location to `center` by itself, and it results `align` keyword is not applied as expected. (:issue:`4525`)
345
-
346
345
- `position`: Specify relative alignments for bar plot layout. From 0 (left/bottom-end) to 1(right/top-end). Default is 0.5 (center). (:issue:`6604`)
347
346
348
347
Because of the default `align` value changes, coordinates of bar plots are now located on integer values (0.0, 1.0, 2.0 ...). This is intended to make bar plot be located on the same coodinates as line plot. However, bar plot may differs unexpectedly when you manually adjust the bar location or drawing area, such as using `set_xlim`, `set_ylim`, etc. In this cases, please modify your script to meet with new coordinates.
@@ -355,28 +354,19 @@ Prior Version Deprecations/Changes
355
354
There are prior version deprecations that are taking effect as of 0.14.0.
356
355
357
356
- Remove :class:`DateRange` in favor of :class:`DatetimeIndex` (:issue:`6816`)
358
-
359
357
- Remove ``column`` keyword from ``DataFrame.sort`` (:issue:`4370`)
360
-
361
358
- Remove ``precision`` keyword from :func:`set_eng_float_format` (:issue:`395`)
362
-
363
359
- Remove ``force_unicode`` keyword from :meth:`DataFrame.to_string`,
364
360
:meth:`DataFrame.to_latex`, and :meth:`DataFrame.to_html`; these function
365
361
encode in unicode by default (:issue:`2224`, :issue:`2225`)
366
-
367
362
- Remove ``nanRep`` keyword from :meth:`DataFrame.to_csv` and
368
363
:meth:`DataFrame.to_string` (:issue:`275`)
369
-
370
364
- Remove ``unique`` keyword from :meth:`HDFStore.select_column` (:issue:`3256`)
371
-
372
365
- Remove ``inferTimeRule`` keyword from :func:`Timestamp.offset` (:issue:`391`)
373
-
374
366
- Remove ``name`` keyword from :func:`get_data_yahoo` and
0 commit comments