ENH: Make pd.to_datetime with format parameter more robust to dirty data (#62840) #51361
This file contains hidden or 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
| name: Package Checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 2.3.x | |
| pull_request: | |
| branches: | |
| - main | |
| - 2.3.x | |
| types: [ labeled, opened, synchronize, reopened ] | |
| permissions: | |
| contents: read | |
| defaults: | |
| run: | |
| shell: bash -el {0} | |
| jobs: | |
| pip: | |
| if: ${{ github.event.label.name == 'Build' || contains(github.event.pull_request.labels.*.name, 'Build') || github.event_name == 'push'}} | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| extra: ["test", "pyarrow", "performance", "computation", "fss", "aws", "gcp", "excel", "parquet", "feather", "hdf5", "spss", "postgresql", "mysql", "sql-other", "html", "xml", "plot", "output-formatting", "clipboard", "compression", "all"] | |
| fail-fast: false | |
| name: Install Extras - ${{ matrix.extra }} | |
| concurrency: | |
| # https://github.community/t/concurrecy-not-work-for-push/183068/7 | |
| group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-pip-extras-${{ matrix.extra }} | |
| cancel-in-progress: true | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| id: setup_python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Pip install with extra | |
| run: | | |
| python -m pip install .[${{ matrix.extra }}] -v | |
| shell: bash -el {0} | |
| conda_forge_recipe: | |
| if: ${{ github.event.label.name == 'Build' || contains(github.event.pull_request.labels.*.name, 'Build') || github.event_name == 'push'}} | |
| runs-on: ubuntu-24.04 | |
| name: Test Conda Forge Recipe | |
| concurrency: | |
| # https://github.community/t/concurrecy-not-work-for-push/183068/7 | |
| group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-conda-forge-recipe | |
| cancel-in-progress: true | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: mamba-org/setup-micromamba@v2 | |
| with: | |
| environment-name: recipe-test | |
| create-args: >- | |
| python=3.11 | |
| boa | |
| conda-verify | |
| cache-downloads: true | |
| cache-environment: true | |
| - name: Build conda package | |
| run: conda mambabuild ci --no-anaconda-upload --verify --strict-verify --output --output-folder . |