Skip to content

Commit bfa793c

Browse files
committed
merge
2 parents 46c4802 + 32ea575 commit bfa793c

File tree

228 files changed

+4021
-2895
lines changed

Some content is hidden

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

228 files changed

+4021
-2895
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
. ~/virtualenvs/pandas-dev/bin/activate && \
4040
python -m pip install --no-deps -U pip wheel 'setuptools<60.0.0' && \
4141
python -m pip install versioneer[toml] && \
42-
python -m pip install cython numpy python-dateutil pytz pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.34.2 && \
42+
python -m pip install cython numpy python-dateutil pytz pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1 && \
4343
python setup.py build_ext -q -j$(nproc) && \
4444
python -m pip install --no-build-isolation --no-use-pep517 -e . && \
4545
python -m pip list && \

.github/workflows/assign.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/preview-docs.yml renamed to .github/workflows/comment-commands.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
1-
name: Preview docs
1+
name: Comment Commands
22
on:
33
issue_comment:
44
types: created
55

66
permissions:
77
contents: read
8+
issues: write
9+
pull-requests: write
810

911
jobs:
12+
issue_assign:
13+
runs-on: ubuntu-22.04
14+
steps:
15+
- if: (!github.event.issue.pull_request) && github.event.comment.body == 'take'
16+
run: |
17+
echo "Assigning issue ${{ github.event.issue.number }} to ${{ github.event.comment.user.login }}"
18+
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -d '{"assignees": ["${{ github.event.comment.user.login }}"]}' https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/assignees
1019
preview_docs:
11-
permissions:
12-
issues: write
13-
pull-requests: write
1420
runs-on: ubuntu-22.04
1521
steps:
16-
- if: github.event.comment.body == '/preview'
22+
- if: github.event.issue.pull_request && github.event.comment.body == '/preview'
1723
run: |
1824
if curl --output /dev/null --silent --head --fail "https://pandas.pydata.org/preview/${{ github.event.issue.number }}/"; then
1925
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -d '{"body": "Website preview of this PR available at: https://pandas.pydata.org/preview/${{ github.event.issue.number }}/"}' https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments

.github/workflows/python-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
8080
python -m pip install git+https://github.com/nedbat/coveragepy.git
8181
python -m pip install versioneer[toml]
82-
python -m pip install python-dateutil pytz cython hypothesis>=6.34.2 pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-cov pytest-asyncio>=0.17
82+
python -m pip install python-dateutil pytz cython hypothesis>=6.46.1 pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-cov pytest-asyncio>=0.17
8383
python -m pip list
8484
8585
- name: Build Pandas

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
# (1. Generate sdist 2. Build wheels from sdist)
171171
# This tests the sdists, and saves some build time
172172
python -m pip install dist/*.gz
173-
pip install hypothesis>=6.34.2 pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-asyncio>=0.17
173+
pip install hypothesis>=6.46.1 pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-asyncio>=0.17
174174
cd .. # Not a good idea to test within the src tree
175175
python -c "import pandas; print(pandas.__version__);
176176
pandas.test(extra_args=['-m not clipboard and not single_cpu and not slow and not network and not db', '-n 2']);

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,18 @@ Package Index (PyPI)](https://pypi.org/project/pandas) and on [Conda](https://do
9090

9191
```sh
9292
# conda
93-
conda install pandas
93+
conda install -c conda-forge pandas
9494
```
9595

9696
```sh
9797
# or PyPI
9898
pip install pandas
9999
```
100100

101+
The list of changes to pandas between each release can be found
102+
[here](https://pandas.pydata.org/pandas-docs/stable/whatsnew/index.html). For full
103+
details, see the commit logs at https://github.com/pandas-dev/pandas.
104+
101105
## Dependencies
102106
- [NumPy - Adds support for large, multi-dimensional arrays, matrices and high-level mathematical functions to operate on these arrays](https://www.numpy.org)
103107
- [python-dateutil - Provides powerful extensions to the standard datetime module](https://dateutil.readthedocs.io/en/stable/index.html)

RELEASE.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

asv_bench/benchmarks/io/csv.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,4 +555,19 @@ def time_read_csv_index_col(self):
555555
read_csv(self.StringIO_input, index_col="a")
556556

557557

558+
class ReadCSVDatePyarrowEngine(StringIORewind):
559+
def setup(self):
560+
count_elem = 100_000
561+
data = "a\n" + "2019-12-31\n" * count_elem
562+
self.StringIO_input = StringIO(data)
563+
564+
def time_read_csv_index_col(self):
565+
read_csv(
566+
self.StringIO_input,
567+
parse_dates=["a"],
568+
engine="pyarrow",
569+
dtype_backend="pyarrow",
570+
)
571+
572+
558573
from ..pandas_vb_common import setup # noqa: F401 isort:skip

asv_bench/benchmarks/join_merge.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,14 @@ def time_f_ordered(self, axis, ignore_index):
7373

7474
class ConcatIndexDtype:
7575
params = (
76-
["datetime64[ns]", "int64", "Int64", "string[python]", "string[pyarrow]"],
76+
[
77+
"datetime64[ns]",
78+
"int64",
79+
"Int64",
80+
"int64[pyarrow]",
81+
"string[python]",
82+
"string[pyarrow]",
83+
],
7784
["monotonic", "non_monotonic", "has_na"],
7885
[0, 1],
7986
[True, False],
@@ -84,7 +91,7 @@ def setup(self, dtype, structure, axis, sort):
8491
N = 10_000
8592
if dtype == "datetime64[ns]":
8693
vals = date_range("1970-01-01", periods=N)
87-
elif dtype in ("int64", "Int64"):
94+
elif dtype in ("int64", "Int64", "int64[pyarrow]"):
8895
vals = np.arange(N, dtype=np.int64)
8996
elif dtype in ("string[python]", "string[pyarrow]"):
9097
vals = tm.makeStringIndex(N)

ci/deps/actions-310-numpydev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
- pytest>=7.0.0
1212
- pytest-cov
1313
- pytest-xdist>=2.2.0
14-
- hypothesis>=6.34.2
14+
- hypothesis>=6.46.1
1515
- pytest-asyncio>=0.17.0
1616

1717
# pandas dependencies

ci/deps/actions-310.yaml

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,38 +21,40 @@ dependencies:
2121
- pytz
2222

2323
# optional dependencies
24-
- beautifulsoup4>=4.9.3
25-
- blosc
26-
- bottleneck>=1.3.2
24+
- beautifulsoup4>=4.11.1
25+
- blosc>=1.21.0
26+
- bottleneck>=1.3.4
2727
- brotlipy>=0.7.0
28-
- fastparquet>=0.6.3
29-
- fsspec>=2021.07.0
28+
- fastparquet>=0.8.1
29+
- fsspec>=2022.05.0
3030
- html5lib>=1.1
31-
- hypothesis>=6.34.2
32-
- gcsfs>=2021.07.0
33-
- jinja2>=3.0.0
34-
- lxml>=4.6.3
31+
- hypothesis>=6.46.1
32+
- gcsfs>=2022.05.0
33+
- jinja2>=3.1.2
34+
- lxml>=4.8.0
3535
- matplotlib>=3.6.1, <3.7.0
36-
- numba>=0.53.1
37-
- numexpr>=2.7.3
38-
- openpyxl<3.1.1, >=3.0.7
36+
- numba>=0.55.2
37+
- numexpr>=2.8.0
3938
- odfpy>=1.4.1
40-
- pandas-gbq>=0.15.0
41-
- psycopg2>=2.8.6
42-
- pymysql>=1.0.2
43-
- pytables>=3.6.1
39+
- qtpy>=2.2.0
40+
- openpyxl<3.1.1, >=3.0.10
41+
- pandas-gbq>=0.17.5
42+
- psycopg2>=2.9.3
4443
- pyarrow>=7.0.0
45-
- pyreadstat>=1.1.2
46-
- python-snappy>=0.6.0
47-
- pyxlsb>=1.0.8
48-
- s3fs>=2021.08.0
49-
- scipy>=1.7.1
50-
- sqlalchemy>=1.4.16
51-
- tabulate>=0.8.9
52-
- xarray>=0.21.0
44+
- pymysql>=1.0.2
45+
- pyreadstat>=1.1.5
46+
- pytables>=3.7.0
47+
- python-snappy>=0.6.1
48+
- pyxlsb>=1.0.9
49+
- s3fs>=2022.05.0
50+
- scipy>=1.8.1
51+
- sqlalchemy>=1.4.36
52+
- tabulate>=0.8.10
53+
- xarray>=2022.03.0
5354
- xlrd>=2.0.1
54-
- xlsxwriter>=1.4.3
55-
- zstandard>=0.15.2
55+
- xlsxwriter>=3.0.3
56+
- zstandard>=0.17.0
5657

5758
- pip:
59+
- pyqt5>=5.15.6
5860
- tzdata>=2022.1

ci/deps/actions-311-pyarrownightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
- pytest>=7.0.0
1313
- pytest-cov
1414
- pytest-xdist>=2.2.0
15-
- hypothesis>=6.34.2
15+
- hypothesis>=6.46.1
1616
- pytest-asyncio>=0.17.0
1717

1818
# required dependencies

ci/deps/actions-311.yaml

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,38 +21,40 @@ dependencies:
2121
- pytz
2222

2323
# optional dependencies
24-
- beautifulsoup4>=4.9.3
25-
- blosc
26-
- bottleneck>=1.3.2
24+
- beautifulsoup4>=4.11.1
25+
- blosc>=1.21.0
26+
- bottleneck>=1.3.4
2727
- brotlipy>=0.7.0
28-
- fastparquet>=0.6.3
29-
- fsspec>=2021.07.0
28+
- fastparquet>=0.8.1
29+
- fsspec>=2022.05.0
3030
- html5lib>=1.1
31-
- hypothesis>=6.34.2
32-
- gcsfs>=2021.07.0
33-
- jinja2>=3.0.0
34-
- lxml>=4.6.3
31+
- hypothesis>=6.46.1
32+
- gcsfs>=2022.05.0
33+
- jinja2>=3.1.2
34+
- lxml>=4.8.0
3535
- matplotlib>=3.6.1, <3.7.0
36-
# - numba not compatible with 3.11
37-
- numexpr>=2.7.3
38-
- openpyxl<3.1.1, >=3.0.7
36+
# - numba>=0.55.2 not compatible with 3.11
37+
- numexpr>=2.8.0
3938
- odfpy>=1.4.1
40-
- pandas-gbq>=0.15.0
41-
- psycopg2>=2.8.6
42-
- pymysql>=1.0.2
43-
# - pytables>=3.8.0 # first version that supports 3.11
39+
- qtpy>=2.2.0
40+
- openpyxl<3.1.1, >=3.0.10
41+
- pandas-gbq>=0.17.5
42+
- psycopg2>=2.9.3
4443
- pyarrow>=7.0.0
45-
- pyreadstat>=1.1.2
46-
- python-snappy>=0.6.0
47-
- pyxlsb>=1.0.8
48-
- s3fs>=2021.08.0
49-
- scipy>=1.7.1
50-
- sqlalchemy>=1.4.16
51-
- tabulate>=0.8.9
52-
- xarray>=0.21.0
44+
- pymysql>=1.0.2
45+
- pyreadstat>=1.1.5
46+
# - pytables>=3.7.0, 3.8.0 is first version that supports 3.11
47+
- python-snappy>=0.6.1
48+
- pyxlsb>=1.0.9
49+
- s3fs>=2022.05.0
50+
- scipy>=1.8.1
51+
- sqlalchemy>=1.4.36
52+
- tabulate>=0.8.10
53+
- xarray>=2022.03.0
5354
- xlrd>=2.0.1
54-
- xlsxwriter>=1.4.3
55-
- zstandard>=0.15.2
55+
- xlsxwriter>=3.0.3
56+
- zstandard>=0.17.0
5657

5758
- pip:
59+
- pyqt5>=5.15.6
5860
- tzdata>=2022.1

ci/deps/actions-38-downstream_compat.yaml

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,37 +22,39 @@ dependencies:
2222
- pytz
2323

2424
# optional dependencies
25-
- beautifulsoup4>=4.9.3
26-
- blosc
25+
- beautifulsoup4>=4.11.1
26+
- blosc>=1.21.0
27+
- bottleneck>=1.3.4
2728
- brotlipy>=0.7.0
28-
- bottleneck>=1.3.2
29-
- fastparquet>=0.6.3
30-
- fsspec>=2021.07.0
29+
- fastparquet>=0.8.1
30+
- fsspec>=2022.05.0
3131
- html5lib>=1.1
32-
- hypothesis>=6.34.2
33-
- gcsfs>=2021.07.0
34-
- jinja2>=3.0.0
35-
- lxml>=4.6.3
32+
- hypothesis>=6.46.1
33+
- gcsfs>=2022.05.0
34+
- jinja2>=3.1.2
35+
- lxml>=4.8.0
3636
- matplotlib>=3.6.1, <3.7.0
37-
- numba>=0.53.1
38-
- numexpr>=2.7.3
39-
- openpyxl<3.1.1, >=3.0.7
37+
- numba>=0.55.2
38+
- numexpr>=2.8.0
4039
- odfpy>=1.4.1
41-
- psycopg2>=2.8.6
40+
- qtpy>=2.2.0
41+
- openpyxl<3.1.1, >=3.0.10
42+
- pandas-gbq>=0.17.5
43+
- psycopg2>=2.9.3
4244
- pyarrow>=7.0.0
4345
- pymysql>=1.0.2
44-
- pyreadstat>=1.1.2
45-
- pytables>=3.6.1
46-
- python-snappy>=0.6.0
47-
- pyxlsb>=1.0.8
48-
- s3fs>=2021.08.0
49-
- scipy>=1.7.1
50-
- sqlalchemy>=1.4.16
51-
- tabulate>=0.8.9
52-
- xarray>=0.21.0
46+
- pyreadstat>=1.1.5
47+
- pytables>=3.7.0
48+
- python-snappy>=0.6.1
49+
- pyxlsb>=1.0.9
50+
- s3fs>=2022.05.0
51+
- scipy>=1.8.1
52+
- sqlalchemy>=1.4.36
53+
- tabulate>=0.8.10
54+
- xarray>=2022.03.0
5355
- xlrd>=2.0.1
54-
- xlsxwriter>=1.4.3
55-
- zstandard>=0.15.2
56+
- xlsxwriter>=3.0.3
57+
- zstandard>=0.17.0
5658

5759
# downstream packages
5860
- botocore
@@ -65,9 +67,9 @@ dependencies:
6567
- statsmodels
6668
- coverage
6769
- pandas-datareader
68-
- pandas-gbq>=0.15.0
6970
- pyyaml
7071
- py
7172

7273
- pip:
74+
- pyqt5>=5.15.6
7375
- tzdata>=2022.1

0 commit comments

Comments
 (0)