Skip to content

Commit 3508a9f

Browse files
Merge branch 'pandas-dev:main' into raise-on-parse-int-overflow
2 parents d96d6b0 + 2e96193 commit 3508a9f

20 files changed

+398
-27
lines changed

.github/workflows/32-bit-linux.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ on:
44
push:
55
branches:
66
- main
7+
- 1.5.x
78
- 1.4.x
89
pull_request:
910
branches:
1011
- main
12+
- 1.5.x
1113
- 1.4.x
1214
paths-ignore:
1315
- "doc/**"

.github/workflows/code-checks.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ on:
44
push:
55
branches:
66
- main
7+
- 1.5.x
78
- 1.4.x
89
pull_request:
910
branches:
1011
- main
12+
- 1.5.x
1113
- 1.4.x
1214

1315
env:

.github/workflows/docbuild-and-upload.yml

+11
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ on:
44
push:
55
branches:
66
- main
7+
- 1.5.x
78
- 1.4.x
9+
tags:
10+
- '*'
811
pull_request:
912
branches:
1013
- main
14+
- 1.5.x
1115
- 1.4.x
1216

1317
env:
@@ -49,6 +53,9 @@ jobs:
4953
- name: Build documentation
5054
run: doc/make.py --warnings-are-errors
5155

56+
- name: Build documentation zip
57+
run: doc/make.py zip_html
58+
5259
- name: Build the interactive terminal
5360
run: |
5461
cd web/interactive_terminal
@@ -73,6 +80,10 @@ jobs:
7380
run: rsync -az --delete doc/build/html/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas/pandas-docs/dev
7481
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
7582

83+
- name: Upload prod docs
84+
run: rsync -az --delete doc/build/html/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas/pandas-docs/version/${GITHUB_REF_NAME}
85+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
86+
7687
- name: Move docs into site directory
7788
run: mv doc/build/html web/build/docs
7889

.github/workflows/macos-windows.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ on:
44
push:
55
branches:
66
- main
7+
- 1.5.x
78
- 1.4.x
89
pull_request:
910
branches:
1011
- main
12+
- 1.5.x
1113
- 1.4.x
1214
paths-ignore:
1315
- "doc/**"

.github/workflows/python-dev.yml

+2
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ on:
2424
push:
2525
branches:
2626
- main
27+
- 1.5.x
2728
- 1.4.x
2829
pull_request:
2930
branches:
3031
- main
32+
- 1.5.x
3133
- 1.4.x
3234
paths-ignore:
3335
- "doc/**"

.github/workflows/sdist.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ on:
44
push:
55
branches:
66
- main
7+
- 1.5.x
78
- 1.4.x
89
pull_request:
910
branches:
1011
- main
12+
- 1.5.x
1113
- 1.4.x
1214
types: [labeled, opened, synchronize, reopened]
1315
paths-ignore:

.github/workflows/ubuntu.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ on:
44
push:
55
branches:
66
- main
7+
- 1.5.x
78
- 1.4.x
89
pull_request:
910
branches:
1011
- main
12+
- 1.5.x
1113
- 1.4.x
1214
paths-ignore:
1315
- "doc/**"

doc/source/whatsnew/index.rst

+8
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ This is the list of changes to pandas between each release. For full details,
1010
see the `commit logs <https://github.com/pandas-dev/pandas/commits/>`_. For install and
1111
upgrade instructions, see :ref:`install`.
1212

13+
Version 1.6
14+
-----------
15+
16+
.. toctree::
17+
:maxdepth: 2
18+
19+
v1.6.0
20+
1321
Version 1.5
1422
-----------
1523

doc/source/whatsnew/v1.4.4.rst

+3
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,19 @@ including other versions of pandas.
1414

1515
Fixed regressions
1616
~~~~~~~~~~~~~~~~~
17+
- Fixed regression in :meth:`DataFrame.fillna` not working :class:`DataFrame` with :class:`MultiIndex` (:issue:`47649`)
1718
- Fixed regression in taking NULL :class:`objects` from a :class:`DataFrame` causing a segmentation violation. These NULL values are created by :meth:`numpy.empty_like` (:issue:`46848`)
1819
- Fixed regression in :func:`concat` materializing :class:`Index` during sorting even if :class:`Index` was already sorted (:issue:`47501`)
1920
- Fixed regression in calling bitwise numpy ufuncs (for example, ``np.bitwise_and``) on Index objects (:issue:`46769`)
2021
- Fixed regression in :func:`cut` using a ``datetime64`` IntervalIndex as bins (:issue:`46218`)
2122
- Fixed regression in :meth:`DataFrame.select_dtypes` where ``include="number"`` included :class:`BooleanDtype` (:issue:`46870`)
23+
- Fixed regression in :meth:`DataFrame.loc` raising error when indexing with a ``NamedTuple`` (:issue:`48124`)
2224
- Fixed regression in :meth:`DataFrame.loc` not updating the cache correctly after values were set (:issue:`47867`)
2325
- Fixed regression in :meth:`DataFrame.loc` not aligning index in some cases when setting a :class:`DataFrame` (:issue:`47578`)
2426
- Fixed regression in :meth:`DataFrame.loc` setting a length-1 array like value to a single value in the DataFrame (:issue:`46268`)
2527
- Fixed regression when slicing with :meth:`DataFrame.loc` with :class:`DateOffset`-index (:issue:`46671`)
2628
- Fixed regression in setting ``None`` or non-string value into a ``string``-dtype Series using a mask (:issue:`47628`)
29+
- Fixed regression in :meth:`DataFrame.select_dtypes` returning a view on the original DataFrame (:issue:`48090`)
2730
- Fixed regression using custom Index subclasses (for example, used in xarray) with :meth:`~DataFrame.reset_index` or :meth:`Index.insert` (:issue:`47071`)
2831
- Fixed regression in :meth:`DatetimeIndex.intersection` when the :class:`DatetimeIndex` has dates crossing daylight savings time (:issue:`46702`)
2932
- Fixed regression in :func:`merge` throwing an error when passing a :class:`Series` with a multi-level name (:issue:`47946`)

doc/source/whatsnew/v1.5.0.rst

+71-17
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@ from_dummies
154154

155155
Added new function :func:`~pandas.from_dummies` to convert a dummy coded :class:`DataFrame` into a categorical :class:`DataFrame`.
156156

157-
Example::
158-
159157
.. ipython:: python
160158
161159
import pandas as pd
@@ -308,7 +306,7 @@ Other enhancements
308306
- :meth:`DataFrame.rolling` and :meth:`Series.rolling` now support a ``step`` parameter with fixed-length windows (:issue:`15354`)
309307
- Implemented a ``bool``-dtype :class:`Index`, passing a bool-dtype array-like to ``pd.Index`` will now retain ``bool`` dtype instead of casting to ``object`` (:issue:`45061`)
310308
- Implemented a complex-dtype :class:`Index`, passing a complex-dtype array-like to ``pd.Index`` will now retain complex dtype instead of casting to ``object`` (:issue:`45845`)
311-
- :class:`Series` and :class:`DataFrame` with ``IntegerDtype`` now supports bitwise operations (:issue:`34463`)
309+
- :class:`Series` and :class:`DataFrame` with :class:`IntegerDtype` now supports bitwise operations (:issue:`34463`)
312310
- Add ``milliseconds`` field support for :class:`.DateOffset` (:issue:`43371`)
313311
- :meth:`DataFrame.reset_index` now accepts a ``names`` argument which renames the index names (:issue:`6878`)
314312
- :func:`concat` now raises when ``levels`` is given but ``keys`` is None (:issue:`46653`)
@@ -319,7 +317,7 @@ Other enhancements
319317
- A :class:`errors.PerformanceWarning` is now thrown when using ``string[pyarrow]`` dtype with methods that don't dispatch to ``pyarrow.compute`` methods (:issue:`42613`)
320318
- Added ``numeric_only`` argument to :meth:`Resampler.sum`, :meth:`Resampler.prod`, :meth:`Resampler.min`, :meth:`Resampler.max`, :meth:`Resampler.first`, and :meth:`Resampler.last` (:issue:`46442`)
321319
- ``times`` argument in :class:`.ExponentialMovingWindow` now accepts ``np.timedelta64`` (:issue:`47003`)
322-
- :class:`.DataError`, :class:`.SpecificationError`, :class:`.SettingWithCopyError`, :class:`.SettingWithCopyWarning`, :class:`.NumExprClobberingError`, :class:`.UndefinedVariableError`, :class:`.IndexingError`, :class:`.PyperclipException`, :class:`.PyperclipWindowsException`, :class:`.CSSWarning`, :class:`.PossibleDataLossError`, :class:`.ClosedFileError`, :class:`.IncompatibilityWarning`, :class:`.AttributeConflictWarning`, :class:`.DatabaseError, :class:`.PossiblePrecisionLoss, :class:`.ValueLabelTypeMismatch, :class:`.InvalidColumnName, and :class:`.CategoricalConversionWarning` are now exposed in ``pandas.errors`` (:issue:`27656`)
320+
- :class:`.DataError`, :class:`.SpecificationError`, :class:`.SettingWithCopyError`, :class:`.SettingWithCopyWarning`, :class:`.NumExprClobberingError`, :class:`.UndefinedVariableError`, :class:`.IndexingError`, :class:`.PyperclipException`, :class:`.PyperclipWindowsException`, :class:`.CSSWarning`, :class:`.PossibleDataLossError`, :class:`.ClosedFileError`, :class:`.IncompatibilityWarning`, :class:`.AttributeConflictWarning`, :class:`.DatabaseError`, :class:`.PossiblePrecisionLoss`, :class:`.ValueLabelTypeMismatch`, :class:`.InvalidColumnName`, and :class:`.CategoricalConversionWarning` are now exposed in ``pandas.errors`` (:issue:`27656`)
323321
- Added ``check_like`` argument to :func:`testing.assert_series_equal` (:issue:`47247`)
324322
- Add support for :meth:`.GroupBy.ohlc` for extension array dtypes (:issue:`37493`)
325323
- Allow reading compressed SAS files with :func:`read_sas` (e.g., ``.sas7bdat.gz`` files)
@@ -491,16 +489,6 @@ Calling :meth:`.DataFrameGroupBy.value_counts` with ``observed=True`` would inco
491489
Backwards incompatible API changes
492490
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
493491

494-
.. _whatsnew_150.api_breaking.api_breaking1:
495-
496-
api_breaking_change1
497-
^^^^^^^^^^^^^^^^^^^^
498-
499-
.. _whatsnew_150.api_breaking.api_breaking2:
500-
501-
api_breaking_change2
502-
^^^^^^^^^^^^^^^^^^^^
503-
504492
.. _whatsnew_150.api_breaking.deps:
505493

506494
Increased minimum versions for dependencies
@@ -567,7 +555,73 @@ Optional libraries below the lowest tested version may still work, but are not c
567555
+-----------------+-----------------+---------+
568556
| Package | Minimum Version | Changed |
569557
+=================+=================+=========+
570-
| | | X |
558+
| beautifulsoup4 |4.9.3 | X |
559+
+-----------------+-----------------+---------+
560+
| blosc |1.21.0 | X |
561+
+-----------------+-----------------+---------+
562+
| bottleneck |1.3.2 | X |
563+
+-----------------+-----------------+---------+
564+
| brotlipy |0.7.0 | |
565+
+-----------------+-----------------+---------+
566+
| fastparquet |0.4.0 | |
567+
+-----------------+-----------------+---------+
568+
| fsspec |2021.05.0 | X |
569+
+-----------------+-----------------+---------+
570+
| html5lib |1.1 | |
571+
+-----------------+-----------------+---------+
572+
| hypothesis |6.13.0 | X |
573+
+-----------------+-----------------+---------+
574+
| gcsfs |2021.05.0 | X |
575+
+-----------------+-----------------+---------+
576+
| jinja2 |3.0.0 | X |
577+
+-----------------+-----------------+---------+
578+
| lxml |4.6.3 | X |
579+
+-----------------+-----------------+---------+
580+
| matplotlib |3.3.2 | |
581+
+-----------------+-----------------+---------+
582+
| numba |0.53.1 | X |
583+
+-----------------+-----------------+---------+
584+
| numexpr |2.7.3 | X |
585+
+-----------------+-----------------+---------+
586+
| odfpy |1.4.1 | |
587+
+-----------------+-----------------+---------+
588+
| openpyxl |3.0.7 | X |
589+
+-----------------+-----------------+---------+
590+
| pandas-gbq |0.15.0 | X |
591+
+-----------------+-----------------+---------+
592+
| psycopg2 |2.8.6 | X |
593+
+-----------------+-----------------+---------+
594+
| pyarrow |1.0.1 | |
595+
+-----------------+-----------------+---------+
596+
| pymysql |1.0.2 | X |
597+
+-----------------+-----------------+---------+
598+
| pyreadstat |1.1.2 | X |
599+
+-----------------+-----------------+---------+
600+
| pytables |3.6.1 | |
601+
+-----------------+-----------------+---------+
602+
| python-snappy |0.6.0 | |
603+
+-----------------+-----------------+---------+
604+
| pyxlsb |1.0.8 | X |
605+
+-----------------+-----------------+---------+
606+
| s3fs |2021.05.0 | X |
607+
+-----------------+-----------------+---------+
608+
| scipy |1.7.1 | X |
609+
+-----------------+-----------------+---------+
610+
| sqlalchemy |1.4.16 | X |
611+
+-----------------+-----------------+---------+
612+
| tabulate |0.8.9 | X |
613+
+-----------------+-----------------+---------+
614+
| tzdata |2022a | |
615+
+-----------------+-----------------+---------+
616+
| xarray |0.19.0 | X |
617+
+-----------------+-----------------+---------+
618+
| xlrd |2.0.1 | |
619+
+-----------------+-----------------+---------+
620+
| xlsxwriter |1.4.3 | X |
621+
+-----------------+-----------------+---------+
622+
| xlwt |1.3.0 | |
623+
+-----------------+-----------------+---------+
624+
| zstandard |0.15.2 | |
571625
+-----------------+-----------------+---------+
572626

573627
See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for more.
@@ -703,7 +757,7 @@ retained by specifying ``group_keys=False``.
703757

704758
Inplace operation when setting values with ``loc`` and ``iloc``
705759
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
706-
Most of the time setting values with ``frame.iloc`` attempts to set values
760+
Most of the time setting values with :meth:`DataFrame.iloc` attempts to set values
707761
inplace, only falling back to inserting a new array if necessary. There are
708762
some cases where this rule is not followed, for example when setting an entire
709763
column from an array with different dtype:
@@ -924,7 +978,7 @@ Categorical
924978
^^^^^^^^^^^
925979
- Bug in :meth:`.Categorical.view` not accepting integer dtypes (:issue:`25464`)
926980
- Bug in :meth:`.CategoricalIndex.union` when the index's categories are integer-dtype and the index contains ``NaN`` values incorrectly raising instead of casting to ``float64`` (:issue:`45362`)
927-
- Bug in :meth:`DataFrame.concat` when concatenating two (or more) unordered ``CategoricalIndex`` variables, whose categories are permutations, yields incorrect index values (:issue:`24845`)
981+
- Bug in :meth:`concat` when concatenating two (or more) unordered :class:`CategoricalIndex` variables, whose categories are permutations, yields incorrect index values (:issue:`24845`)
928982

929983
Datetimelike
930984
^^^^^^^^^^^^

0 commit comments

Comments
 (0)