Skip to content

Commit 0e707e6

Browse files
authored
Merge pull request #171 from pandas-dev/master
Sync Fork from Upstream Repo
2 parents b3e5432 + 9373dbe commit 0e707e6

Some content is hidden

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

54 files changed

+1532
-763
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

MANIFEST.in

Lines changed: 2 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 19 additions & 6 deletions
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

Lines changed: 22 additions & 21 deletions
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

Lines changed: 5 additions & 0 deletions
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)