Skip to content

Commit bd2ab17

Browse files
committed
Merge remote-tracking branch 'upstream/main' into fix-empty-df-columns
2 parents 5dcc1ac + 7863029 commit bd2ab17

File tree

543 files changed

+10117
-5611
lines changed

Some content is hidden

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

543 files changed

+10117
-5611
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,3 @@ pandas/tests/io/parser/data export-ignore
8484

8585
# Include cibw script in sdist since it's needed for building wheels
8686
scripts/cibw_before_build.sh -export-ignore
87-
scripts/cibw_before_build_windows.sh -export-ignore
88-
scripts/cibw_before_test_windows.sh -export-ignore

.github/CODEOWNERS

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@ doc/cheatsheet @Dr-Irv
99
doc/source/development @noatamir
1010

1111
# pandas
12-
pandas/_libs/ @WillAyd
13-
pandas/_libs/tslibs/* @MarcoGorelli
1412
pandas/_typing.py @Dr-Irv
1513
pandas/core/groupby/* @rhshadrach
16-
pandas/core/tools/datetimes.py @MarcoGorelli
1714
pandas/io/excel/* @rhshadrach
1815
pandas/io/formats/style.py @attack68
1916
pandas/io/formats/style_render.py @attack68

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ body:
2626
label: Reproducible Example
2727
description: >
2828
Please follow [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) on how to
29-
provide a minimal, copy-pastable example.
29+
provide a minimal, copy-pastable example. Reports without reproducible examples will generally be closed
30+
until they are provided.
3031
placeholder: >
3132
import pandas as pd
3233

.github/ISSUE_TEMPLATE/documentation_improvement.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ body:
2828
attributes:
2929
label: Documentation problem
3030
description: >
31-
Please provide a description of what documentation you believe needs to be fixed/improved
31+
Please provide a description of what documentation you believe needs to be fixed/improved.
32+
Reports without a clear, actionable request will generally be closed.
3233
validations:
3334
required: true
3435
- type: textarea

.github/ISSUE_TEMPLATE/feature_request.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ body:
2121
attributes:
2222
label: Problem Description
2323
description: >
24-
Please describe what problem the feature would solve, e.g. "I wish I could use pandas to ..."
24+
Please describe what problem the feature would solve, e.g. "I wish I could use pandas to ...".
25+
Reports without a clear, actionable request will generally be closed.
2526
placeholder: >
2627
I wish I could use pandas to return a Series from a DataFrame when possible.
2728
validations:
@@ -31,7 +32,7 @@ body:
3132
attributes:
3233
label: Feature Description
3334
description: >
34-
Please describe how the new feature would be implemented, using psudocode if relevant.
35+
Please describe how the new feature would be implemented, using pseudocode if relevant.
3536
placeholder: >
3637
Add a new parameter to DataFrame, to_series, to return a Series if possible.
3738

.github/ISSUE_TEMPLATE/performance_issue.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ body:
2525
description: >
2626
Please provide a minimal, copy-pastable example that quantifies
2727
[slow runtime](https://docs.python.org/3/library/timeit.html) or
28-
[memory](https://pypi.org/project/memory-profiler/) issues.
28+
[memory](https://pypi.org/project/memory-profiler/) issues. Reports
29+
without reproducible examples will generally be closed
30+
until they are provided.
2931
validations:
3032
required: true
3133
- type: textarea

.github/actions/build_pandas/action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ inputs:
44
editable:
55
description: Whether to build pandas in editable mode (default true)
66
default: true
7+
werror:
8+
description: Enable werror flag for build
9+
default: true
710
runs:
811
using: composite
912
steps:
@@ -26,9 +29,9 @@ runs:
2629
run: |
2730
if [[ ${{ inputs.editable }} == "true" ]]; then
2831
pip install -e . --no-build-isolation -v --no-deps \
29-
-Csetup-args="--werror"
32+
${{ inputs.werror == 'true' && '-Csetup-args="--werror"' || '' }}
3033
else
3134
pip install . --no-build-isolation -v --no-deps \
32-
-Csetup-args="--werror"
35+
${{ inputs.werror == 'true' && '-Csetup-args="--werror"' || '' }}
3336
fi
3437
shell: bash -el {0}

.github/workflows/code-checks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ permissions:
2121
jobs:
2222
docstring_typing_manual_hooks:
2323
name: Docstring validation, typing, and other manual pre-commit hooks
24-
runs-on: ubuntu-22.04
24+
runs-on: ubuntu-24.04
2525
defaults:
2626
run:
2727
shell: bash -el {0}
@@ -102,7 +102,7 @@ jobs:
102102

103103
asv-benchmarks:
104104
name: ASV Benchmarks
105-
runs-on: ubuntu-22.04
105+
runs-on: ubuntu-24.04
106106
defaults:
107107
run:
108108
shell: bash -el {0}
@@ -133,7 +133,7 @@ jobs:
133133
134134
build_docker_dev_environment:
135135
name: Build Docker Dev Environment
136-
runs-on: ubuntu-22.04
136+
runs-on: ubuntu-24.04
137137
defaults:
138138
run:
139139
shell: bash -el {0}
@@ -160,7 +160,7 @@ jobs:
160160

161161
requirements-dev-text-installable:
162162
name: Test install requirements-dev.txt
163-
runs-on: ubuntu-22.04
163+
runs-on: ubuntu-24.04
164164

165165
concurrency:
166166
# https://github.community/t/concurrecy-not-work-for-push/183068/7
@@ -177,7 +177,7 @@ jobs:
177177
id: setup_python
178178
uses: actions/setup-python@v5
179179
with:
180-
python-version: '3.10'
180+
python-version: '3.11'
181181
cache: 'pip'
182182
cache-dependency-path: 'requirements-dev.txt'
183183

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313

1414
jobs:
1515
analyze:
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-24.04
1717
permissions:
1818
actions: read
1919
contents: read

.github/workflows/comment-commands.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
issue_assign:
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-24.04
1414
if: (!github.event.issue.pull_request) && github.event.comment.body == 'take'
1515
concurrency:
1616
group: ${{ github.actor }}-issue-assign
@@ -19,7 +19,7 @@ jobs:
1919
echo "Assigning issue ${{ github.event.issue.number }} to ${{ github.event.comment.user.login }}"
2020
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
2121
preview_docs:
22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-24.04
2323
if: github.event.issue.pull_request && github.event.comment.body == '/preview'
2424
concurrency:
2525
group: ${{ github.actor }}-preview-docs
@@ -29,7 +29,7 @@ jobs:
2929
previewer-server: "https://pandas.pydata.org/preview"
3030
artifact-job: "Doc Build and Upload"
3131
asv_run:
32-
runs-on: ubuntu-22.04
32+
runs-on: ubuntu-24.04
3333
# TODO: Support more benchmarking options later, against different branches, against self, etc
3434
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '@github-actions benchmark')
3535
defaults:

0 commit comments

Comments
 (0)