-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 24893-pivot_table
- Loading branch information
Showing
439 changed files
with
5,477 additions
and
4,405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
custom: https://pandas.pydata.org/donate.html | ||
github: [numfocus] | ||
tidelift: pypi/pandas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Assign | ||
on: | ||
issue_comment: | ||
types: created | ||
|
||
jobs: | ||
one: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: | ||
run: | | ||
if [[ "${{ github.event.comment.body }}" == "take" ]]; then | ||
echo "Assigning issue ${{ github.event.issue.number }} to ${{ github.event.comment.user.login }}" | ||
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 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: master | ||
pull_request: | ||
branches: master | ||
|
||
env: | ||
ENV_FILE: environment.yml | ||
# TODO: remove export PATH=... in each step once this works | ||
# PATH: $HOME/miniconda3/bin:$PATH | ||
|
||
jobs: | ||
checks: | ||
name: Checks | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- name: Looking for unwanted patterns | ||
run: ci/code_checks.sh patterns | ||
if: true | ||
|
||
- name: Setup environment and build pandas | ||
run: | | ||
export PATH=$HOME/miniconda3/bin:$PATH | ||
ci/setup_env.sh | ||
if: true | ||
|
||
- name: Linting | ||
run: | | ||
export PATH=$HOME/miniconda3/bin:$PATH | ||
source activate pandas-dev | ||
ci/code_checks.sh lint | ||
if: true | ||
|
||
- name: Dependencies consistency | ||
run: | | ||
export PATH=$HOME/miniconda3/bin:$PATH | ||
source activate pandas-dev | ||
ci/code_checks.sh dependencies | ||
if: true | ||
|
||
- name: Checks on imported code | ||
run: | | ||
export PATH=$HOME/miniconda3/bin:$PATH | ||
source activate pandas-dev | ||
ci/code_checks.sh code | ||
if: true | ||
|
||
- name: Running doctests | ||
run: | | ||
export PATH=$HOME/miniconda3/bin:$PATH | ||
source activate pandas-dev | ||
ci/code_checks.sh doctests | ||
if: true | ||
|
||
- name: Docstring validation | ||
run: | | ||
export PATH=$HOME/miniconda3/bin:$PATH | ||
source activate pandas-dev | ||
ci/code_checks.sh docstrings | ||
if: true | ||
|
||
- name: Typing validation | ||
run: | | ||
export PATH=$HOME/miniconda3/bin:$PATH | ||
source activate pandas-dev | ||
ci/code_checks.sh typing | ||
if: true | ||
|
||
- name: Testing docstring validation script | ||
run: | | ||
export PATH=$HOME/miniconda3/bin:$PATH | ||
source activate pandas-dev | ||
pytest --capture=no --strict scripts | ||
if: true | ||
|
||
- name: Running benchmarks | ||
run: | | ||
export PATH=$HOME/miniconda3/bin:$PATH | ||
source activate pandas-dev | ||
cd asv_bench | ||
asv check -E existing | ||
git remote add upstream https://github.com/pandas-dev/pandas.git | ||
git fetch upstream | ||
if git diff upstream/master --name-only | grep -q "^asv_bench/"; then | ||
asv machine --yes | ||
ASV_OUTPUT="$(asv dev)" | ||
if [[ $(echo "$ASV_OUTPUT" | grep "failed") ]]; then | ||
echo "##vso[task.logissue type=error]Benchmarks run with errors" | ||
echo "$ASV_OUTPUT" | ||
exit 1 | ||
else | ||
echo "Benchmarks run without errors" | ||
fi | ||
else | ||
echo "Benchmarks did not run, no changes detected" | ||
fi | ||
if: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.