Skip to content

Commit 4baa6fc

Browse files
author
MarcoGorelli
committed
add sort whatsnew notes check
1 parent 4d18871 commit 4baa6fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+2502
-2388
lines changed

.pre-commit-config.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -436,3 +436,9 @@ repos:
436436
types: [python]
437437
files: ^pandas/tests
438438
language: python
439+
- id: sort-whatsnew-items
440+
name: sort whatsnew entries by issue number
441+
entry: python -m scripts.sort_whatsnew_note
442+
types: [rst]
443+
language: python
444+
files: ^doc/source/whatsnew/v

doc/source/whatsnew/v0.10.1.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,11 @@ combined result, by using ``where`` on a selector table.
216216
- Greatly improved ISO8601 (e.g., yyyy-mm-dd) date parsing for file parsers (:issue:`2698`)
217217
- Allow ``DataFrame.merge`` to handle combinatorial sizes too large for 64-bit
218218
integer (:issue:`2690`)
219-
- Series now has unary negation (-series) and inversion (~series) operators (:issue:`2686`)
220219
- DataFrame.plot now includes a ``logx`` parameter to change the x-axis to log scale (:issue:`2327`)
221220
- Series arithmetic operators can now handle constant and ndarray input (:issue:`2574`)
222-
- ExcelFile now takes a ``kind`` argument to specify the file type (:issue:`2613`)
223221
- A faster implementation for Series.str methods (:issue:`2602`)
222+
- ExcelFile now takes a ``kind`` argument to specify the file type (:issue:`2613`)
223+
- Series now has unary negation (-series) and inversion (~series) operators (:issue:`2686`)
224224

225225
**Bug Fixes**
226226

doc/source/whatsnew/v0.13.0.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ Prior version deprecations/changes
208208

209209
These were announced changes in 0.12 or prior that are taking effect as of 0.13.0
210210

211-
- Remove deprecated ``Factor`` (:issue:`3650`)
212211
- Remove deprecated ``set_printoptions/reset_printoptions`` (:issue:`3046`)
213212
- Remove deprecated ``_verbose_info`` (:issue:`3215`)
213+
- Remove deprecated ``Factor`` (:issue:`3650`)
214214
- Remove deprecated ``read_clipboard/to_clipboard/ExcelFile/ExcelWriter`` from ``pandas.io.parsers`` (:issue:`3717`)
215215
These are available as functions in the main pandas namespace (e.g. ``pd.read_clipboard``)
216216
- default for ``tupleize_cols`` is now ``False`` for both ``to_csv`` and ``read_csv``. Fair warning in 0.12 (:issue:`3604`)
@@ -1193,8 +1193,8 @@ Bug fixes
11931193
(:issue:`4853`)
11941194
- Fix an issue in TextFileReader w/ Python engine (i.e. PythonParser)
11951195
with thousands != "," (:issue:`4596`)
1196-
- Bug in getitem with a duplicate index when using where (:issue:`4879`)
11971196
- Fix Type inference code coerces float column into datetime (:issue:`4601`)
1197+
- Bug in getitem with a duplicate index when using where (:issue:`4879`)
11981198
- Fixed ``_ensure_numeric`` does not check for complex numbers
11991199
(:issue:`4902`)
12001200
- Fixed a bug in ``Series.hist`` where two figures were being created when
@@ -1256,8 +1256,8 @@ Bug fixes
12561256
parser cleaning (:issue:`5121`).
12571257
- Treat a list/ndarray identically for ``iloc`` indexing with list-like
12581258
(:issue:`5006`)
1259-
- Fix ``MultiIndex.get_level_values()`` with missing values (:issue:`5074`)
12601259
- Fix bound checking for Timestamp() with datetime64 input (:issue:`4065`)
1260+
- Fix ``MultiIndex.get_level_values()`` with missing values (:issue:`5074`)
12611261
- Fix a bug where ``TestReadHtml`` wasn't calling the correct ``read_html()``
12621262
function (:issue:`5150`).
12631263
- Fix a bug with ``NDFrame.replace()`` which made replacement appear as
@@ -1310,8 +1310,8 @@ Bug fixes
13101310
- The GroupBy methods ``transform`` and ``filter`` can be used on Series
13111311
and DataFrames that have repeated (non-unique) indices. (:issue:`4620`)
13121312
- Fix empty series not printing name in repr (:issue:`4651`)
1313-
- Make tests create temp files in temp directory by default. (:issue:`5419`)
13141313
- ``pd.to_timedelta`` of a scalar returns a scalar (:issue:`5410`)
1314+
- Make tests create temp files in temp directory by default. (:issue:`5419`)
13151315
- ``pd.to_timedelta`` accepts ``NaN`` and ``NaT``, returning ``NaT`` instead of raising (:issue:`5437`)
13161316
- performance improvements in ``isnull`` on larger size pandas objects
13171317
- Fixed various setitem with 1d ndarray that does not have a matching

doc/source/whatsnew/v0.13.1.rst

+15-15
Original file line numberDiff line numberDiff line change
@@ -384,12 +384,12 @@ Performance improvements for 0.13.1
384384

385385
- Series datetime/timedelta binary operations (:issue:`5801`)
386386
- DataFrame ``count/dropna`` for ``axis=1``
387+
- Regression in JSON IO (:issue:`5765`)
387388
- Series.str.contains now has a ``regex=False`` keyword which can be faster for plain (non-regex) string patterns. (:issue:`5879`)
388389
- Series.str.extract (:issue:`5944`)
389390
- ``dtypes/ftypes`` methods (:issue:`5968`)
390391
- indexing with object dtypes (:issue:`5968`)
391392
- ``DataFrame.apply`` (:issue:`6013`)
392-
- Regression in JSON IO (:issue:`5765`)
393393
- Index construction from Series (:issue:`6150`)
394394

395395
Experimental
@@ -402,37 +402,37 @@ There are no experimental changes in 0.13.1
402402
Bug fixes
403403
~~~~~~~~~
404404

405-
- Bug in ``io.wb.get_countries`` not including all countries (:issue:`6008`)
406405
- Bug in Series replace with timestamp dict (:issue:`5797`)
406+
- Bug in ``io.wb.get_countries`` not including all countries (:issue:`6008`)
407407
- read_csv/read_table now respects the ``prefix`` kwarg (:issue:`5732`).
408-
- Bug in selection with missing values via ``.ix`` from a duplicate indexed DataFrame failing (:issue:`5835`)
409-
- Fix issue of boolean comparison on empty DataFrames (:issue:`5808`)
410408
- Bug in isnull handling ``NaT`` in an object array (:issue:`5443`)
409+
- Fixed string-representation of ``NaT`` to be "NaT" (:issue:`5708`)
410+
- Bug in internal caching, related to (:issue:`5727`)
411+
- Fix issue of boolean comparison on empty DataFrames (:issue:`5808`)
412+
- Bug in selection with missing values via ``.ix`` from a duplicate indexed DataFrame failing (:issue:`5835`)
413+
- Bug in DataFrame.tail with empty frame (:issue:`5846`)
414+
- Bug in propagating metadata on ``resample`` (:issue:`5862`)
411415
- Bug in ``to_datetime`` when passed a ``np.nan`` or integer datelike and a format string (:issue:`5863`)
412416
- Bug in groupby dtype conversion with datetimelike (:issue:`5869`)
413-
- Regression in handling of empty Series as indexers to Series (:issue:`5877`)
414-
- Bug in internal caching, related to (:issue:`5727`)
415417
- Testing bug in reading JSON/msgpack from a non-filepath on windows under py3 (:issue:`5874`)
418+
- Regression in handling of empty Series as indexers to Series (:issue:`5877`)
419+
- Bug in ``BusinessDay`` when adding n days to a date not on offset when n>5 and n%5==0 (:issue:`5890`)
416420
- Bug when assigning to .ix[tuple(...)] (:issue:`5896`)
417421
- Bug in fully reindexing a Panel (:issue:`5905`)
422+
- Fixed string-representation for Timestamp to show nanoseconds if present (:issue:`5912`)
418423
- Bug in idxmin/max with object dtypes (:issue:`5914`)
419-
- Bug in ``BusinessDay`` when adding n days to a date not on offset when n>5 and n%5==0 (:issue:`5890`)
420424
- Bug in assigning to chained series with a series via ix (:issue:`5928`)
421425
- Bug in creating an empty DataFrame, copying, then assigning (:issue:`5932`)
422-
- Bug in DataFrame.tail with empty frame (:issue:`5846`)
423-
- Bug in propagating metadata on ``resample`` (:issue:`5862`)
424-
- Fixed string-representation of ``NaT`` to be "NaT" (:issue:`5708`)
425-
- Fixed string-representation for Timestamp to show nanoseconds if present (:issue:`5912`)
426426
- ``pd.match`` not returning passed sentinel
427427
- ``Panel.to_frame()`` no longer fails when ``major_axis`` is a
428428
``MultiIndex`` (:issue:`5402`).
429429
- Bug in ``pd.read_msgpack`` with inferring a ``DateTimeIndex`` frequency
430430
incorrectly (:issue:`5947`)
431-
- Fixed ``to_datetime`` for array with both Tz-aware datetimes and ``NaT``'s (:issue:`5961`)
431+
- Fixed bug with ``pd.concat`` losing dtype information if all inputs are empty (:issue:`5742`)
432432
- Bug in rolling skew/kurtosis when passed a Series with bad data (:issue:`5749`)
433-
- Bug in scipy ``interpolate`` methods with a datetime index (:issue:`5975`)
433+
- Fixed ``to_datetime`` for array with both Tz-aware datetimes and ``NaT``'s (:issue:`5961`)
434434
- Bug in NaT comparison if a mixed datetime/np.datetime64 with NaT were passed (:issue:`5968`)
435-
- Fixed bug with ``pd.concat`` losing dtype information if all inputs are empty (:issue:`5742`)
435+
- Bug in scipy ``interpolate`` methods with a datetime index (:issue:`5975`)
436436
- Recent changes in IPython cause warnings to be emitted when using previous versions
437437
of pandas in QTConsole, now fixed. If you're using an older version and
438438
need to suppress the warnings, see (:issue:`5922`).
@@ -448,8 +448,8 @@ Bug fixes
448448
(:issue:`6043`)
449449
- ``to_sql`` did not respect ``if_exists`` (:issue:`4110` :issue:`4304`)
450450
- Regression in ``.get(None)`` indexing from 0.12 (:issue:`5652`)
451-
- Subtle ``iloc`` indexing bug, surfaced in (:issue:`6059`)
452451
- Bug with insert of strings into DatetimeIndex (:issue:`5818`)
452+
- Subtle ``iloc`` indexing bug, surfaced in (:issue:`6059`)
453453
- Fixed unicode bug in to_html/HTML repr (:issue:`6098`)
454454
- Fixed missing arg validation in get_options_data (:issue:`6105`)
455455
- Bug in assignment with duplicate columns in a frame where the locations

0 commit comments

Comments
 (0)