Skip to content

Commit 5db0964

Browse files
committed
Merge branch 'master' into ref-gbop
2 parents b8f5a28 + 7d4757b commit 5db0964

File tree

198 files changed

+6455
-4448
lines changed

Some content is hidden

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

198 files changed

+6455
-4448
lines changed

.pre-commit-config.yaml

+15-2
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ repos:
5151
hooks:
5252
- id: isort
5353
- repo: https://github.com/asottile/pyupgrade
54-
rev: v2.11.0
54+
rev: v2.12.0
5555
hooks:
5656
- id: pyupgrade
57-
args: [--py37-plus, --keep-runtime-typing]
57+
args: [--py37-plus]
5858
- repo: https://github.com/pre-commit/pygrep-hooks
5959
rev: v1.8.0
6060
hooks:
@@ -69,6 +69,7 @@ repos:
6969
rev: v1.2.2
7070
hooks:
7171
- id: yesqa
72+
additional_dependencies: [flake8==3.9.0]
7273
- repo: local
7374
hooks:
7475
- id: flake8-rst
@@ -164,6 +165,13 @@ repos:
164165
files: ^(environment.yml|requirements-dev.txt)$
165166
pass_filenames: false
166167
additional_dependencies: [pyyaml]
168+
- id: sync-flake8-versions
169+
name: Check flake8 version is synced across flake8, yesqa, and environment.yml
170+
language: python
171+
entry: python scripts/sync_flake8_versions.py
172+
files: ^(\.pre-commit-config\.yaml|environment\.yml)$
173+
pass_filenames: false
174+
additional_dependencies: [pyyaml]
167175
- id: title-capitalization
168176
name: Validate correct capitalization among titles in documentation
169177
entry: python scripts/validate_rst_title_capitalization.py
@@ -206,3 +214,8 @@ repos:
206214
files: ^pandas/core/
207215
exclude: ^pandas/core/api\.py$
208216
types: [python]
217+
- id: no-bool-in-core-generic
218+
name: Use bool_t instead of bool in pandas/core/generic.py
219+
entry: python scripts/no_bool_in_generic.py
220+
language: python
221+
files: ^pandas/core/generic\.py$

LICENSES/PYUPGRADE_LICENSE

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2017 Anthony Sottile
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

MANIFEST.in

+2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ global-exclude *.h5
1717
global-exclude *.html
1818
global-exclude *.json
1919
global-exclude *.jsonl
20+
global-exclude *.pdf
2021
global-exclude *.pickle
2122
global-exclude *.png
23+
global-exclude *.pptx
2224
global-exclude *.pyc
2325
global-exclude *.pyd
2426
global-exclude *.ods

ci/deps/actions-37-db.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies:
3232
- google-cloud-bigquery>=1.27.2 # GH 36436
3333
- psycopg2
3434
- pyarrow>=0.15.0
35-
- pymysql<0.10.0 # temporary pin, GH 36465
35+
- pymysql
3636
- pytables
3737
- python-snappy
3838
- python-dateutil

doc/source/_static/css/getting_started.css

+19-6
Original file line numberDiff line numberDiff line change
@@ -131,20 +131,30 @@ ul.task-bullet > li > p:first-child {
131131

132132
/* Getting started index page */
133133

134-
.intro-card {
134+
.comparison-card {
135135
background:#FFF;
136136
border-radius:0;
137137
padding: 30px 10px 10px 10px;
138138
margin: 10px 0px;
139139
}
140140

141-
.intro-card .card-text {
142-
margin:20px 0px;
143-
/*min-height: 150px; */
141+
.comparison-card p.card-text {
142+
margin: 0px;
144143
}
145144

146-
.intro-card .card-img-top {
145+
.comparison-card .card-img-top {
147146
margin: 10px;
147+
margin-bottom: 20px;
148+
height: 72px;
149+
}
150+
151+
.comparison-card-excel .card-img-top, .comparison-card-stata .card-img-top, .comparison-card-sas .card-img-top {
152+
height: 52px;
153+
}
154+
155+
.comparison-card .card-footer {
156+
border: none;
157+
background-color:white;
148158
}
149159

150160
.install-block {
@@ -154,10 +164,13 @@ ul.task-bullet > li > p:first-child {
154164
.install-card .card-header {
155165
border: none;
156166
background-color:white;
167+
padding: 1rem 1rem 0rem 1rem;
168+
}
169+
170+
.install-card .card-header p.card-text {
157171
color: #150458;
158172
font-size: 1.1rem;
159173
font-weight: bold;
160-
padding: 1rem 1rem 0rem 1rem;
161174
}
162175

163176
.install-card .card-footer {

doc/source/_static/css/pandas.css

+22-21
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,40 @@
55
--pst-color-info: 23, 162, 184;
66
}
77

8-
/* Getting started index page */
8+
/* Main index page overview cards */
99

1010
.intro-card {
1111
background: #fff;
1212
border-radius: 0;
13-
padding: 30px 10px 10px 10px;
13+
padding: 30px 10px 20px 10px;
1414
margin: 10px 0px;
1515
}
1616

17-
.intro-card .card-text {
18-
margin: 20px 0px;
19-
/*min-height: 150px; */
17+
.intro-card p.card-text {
18+
margin: 0px;
2019
}
2120

22-
.custom-button {
23-
background-color: #dcdcdc;
21+
.intro-card .card-img-top {
22+
margin: 10px;
23+
height: 52px;
24+
}
25+
26+
.intro-card .card-header {
2427
border: none;
25-
color: #484848;
26-
text-align: center;
27-
text-decoration: none;
28-
display: inline-block;
29-
font-size: 0.9rem;
30-
border-radius: 0.5rem;
31-
max-width: 220px;
32-
padding: 0.5rem 0rem;
28+
background-color:white;
29+
color: #150458 !important;
30+
font-size: var(--pst-font-size-h5);
31+
font-weight: bold;
32+
padding: 2.5rem 0rem 0.5rem 0rem;
3333
}
3434

35-
.custom-button a {
36-
color: #484848;
35+
.intro-card .card-footer {
36+
border: none;
37+
background-color:white;
3738
}
3839

39-
.custom-button p {
40-
margin-top: 0;
41-
margin-bottom: 0rem;
42-
color: #484848;
40+
.intro-card .card-footer p.card-text{
41+
max-width: 220px;
42+
margin-left: auto;
43+
margin-right: auto;
4344
}

doc/source/_static/style/bg_ax0.png

13.4 KB
Loading
13.9 KB
Loading
13.3 KB
Loading
13.7 KB
Loading
12.7 KB
Loading

doc/source/_static/style/bg_gmap.png

12.6 KB
Loading

doc/source/conf.py

+5
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"sphinx.ext.ifconfig",
6666
"sphinx.ext.linkcode",
6767
"nbsphinx",
68+
"sphinx_panels",
6869
"contributors", # custom pandas extension
6970
]
7071

@@ -139,6 +140,10 @@
139140
# nbsphinx do not use requirejs (breaks bootstrap)
140141
nbsphinx_requirejs_path = ""
141142

143+
# sphinx-panels shouldn't add bootstrap css since the pydata-sphinx-theme
144+
# already loads it
145+
panels_add_bootstrap_css = False
146+
142147
# Add any paths that contain templates here, relative to this directory.
143148
templates_path = ["../_templates"]
144149

0 commit comments

Comments
 (0)