-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: Update of the 'getting started' pages in the sphinx section of the documentation #31156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
TomAugspurger
merged 51 commits into
pandas-dev:master
from
stijnvanhoey:getting-started-pages
Feb 17, 2020
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
879ec63
Add new getting started tutorials to pandas
stijnvanhoey ead1445
Update links to raw data
stijnvanhoey aa46ef4
Move reference to top of title
stijnvanhoey 351a523
Fix minor mistakes in text
stijnvanhoey 6840905
Add missing reference to user guide section
stijnvanhoey bf19817
Add missing reference to user guide section
stijnvanhoey 49858f9
Remove created artifacts
stijnvanhoey 6ca5e59
Update link to raw data
stijnvanhoey a40fff8
Change title of text tutorial
stijnvanhoey 89aa154
Change title of tutorial
stijnvanhoey 2cff6f8
Update
stijnvanhoey 3b12e77
Add draft index page of getting started
stijnvanhoey 9819fb8
Add custom css for getting started pages
stijnvanhoey b2433a1
Add logos for getting started page
stijnvanhoey 92e2b72
Fix link to logos
stijnvanhoey a2f2f81
Fix toctree on getting started page
stijnvanhoey abf7aec
Merge branch 'master' of github.com:pandas-dev/pandas into getting-st…
stijnvanhoey d45040c
Add pandas colors to color cycle
stijnvanhoey 147551c
provide blueprint to intro tutorials
stijnvanhoey 3dfa4cd
Add first update to general doc page
stijnvanhoey 9f41347
Fix minor styling elements
stijnvanhoey 80c9615
Add section 2 and 3 short intro
stijnvanhoey 577d8e7
Merge remote-tracking branch 'upstream/master' into getting-started-p…
stijnvanhoey cd446f2
Add plot intro
stijnvanhoey 3828749
Add dataframe calc intro
stijnvanhoey 05f4811
Add groupby intro
stijnvanhoey 809248d
Add reshape intro
stijnvanhoey 55f64ef
Fix wrong collapseble
stijnvanhoey 864ac3e
Fix typos
stijnvanhoey b7de411
Add combine table intro
stijnvanhoey 1e777eb
Add intro textual and time series data
stijnvanhoey 2177660
Reset index page
stijnvanhoey 9534c75
Fix excel file read and removal order
stijnvanhoey 6290de5
Fix title handling toctree main index page
stijnvanhoey 79c6d69
Fix title handling toctree main index page
stijnvanhoey 2c38cdc
Merge branch 'getting-started-pages' of github.com:stijnvanhoey/panda…
stijnvanhoey 247e6a0
Remove trailing whitespaces in rst files
stijnvanhoey 67639ff
Fix linting errors
stijnvanhoey 19ba810
Fix linting issues of tutorials
stijnvanhoey e1aab58
Add schemas
stijnvanhoey a06eeb2
Fix trailing whitespaces in css
stijnvanhoey 446df48
Fix linting issues
stijnvanhoey afa917a
Fix linting errors
stijnvanhoey 08ad852
Remove pandas colors in plots
stijnvanhoey 7f47a18
Add missing reference
stijnvanhoey 9665264
Revision of tutorials on internal references
stijnvanhoey a4b2c8d
Add required data sets for intro tutorials
stijnvanhoey 3459ff3
Fix missing figure
stijnvanhoey 5a323ad
Ignore warnings
stijnvanhoey f3267a7
Merge branch 'master' into getting-started-pages
stijnvanhoey de23000
Fix relative path
stijnvanhoey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
id,description,name | ||
bc,Black Carbon,BC | ||
co,Carbon Monoxide,CO | ||
no2,Nitrogen Dioxide,NO2 | ||
o3,Ozone,O3 | ||
pm10,Particulate matter less than 10 micrometers in diameter,PM10 | ||
pm25,Particulate matter less than 2.5 micrometers in diameter,PM2.5 | ||
so2,Sulfur Dioxide,SO2 |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
location,coordinates.latitude,coordinates.longitude | ||
BELAL01,51.23619,4.38522 | ||
BELHB23,51.1703,4.341 | ||
BELLD01,51.10998,5.00486 | ||
BELLD02,51.12038,5.02155 | ||
BELR833,51.32766,4.36226 | ||
BELSA04,51.31393,4.40387 | ||
BELWZ02,51.1928,5.22153 | ||
BETM802,51.26099,4.4244 | ||
BETN016,51.23365,5.16398 | ||
BETR801,51.20966,4.43182 | ||
BETR802,51.20952,4.43179 | ||
BETR803,51.22863,4.42845 | ||
BETR805,51.20823,4.42156 | ||
BETR811,51.2521,4.49136 | ||
BETR815,51.2147,4.33221 | ||
BETR817,51.17713,4.41795 | ||
BETR820,51.32042,4.44481 | ||
BETR822,51.26429,4.34128 | ||
BETR831,51.3488,4.33971 | ||
BETR834,51.092,4.3801 | ||
BETR891,51.25581,4.38536 | ||
BETR893,51.28138,4.38577 | ||
BETR894,51.2835,4.3495 | ||
BETR897,51.25011,4.3421 | ||
FR04004,48.89167,2.34667 | ||
FR04012,48.82778,2.3275 | ||
FR04014,48.83724,2.3939 | ||
FR04014,48.83722,2.3939 | ||
FR04031,48.86887,2.31194 | ||
FR04031,48.86889,2.31194 | ||
FR04037,48.82861,2.36028 | ||
FR04060,48.8572,2.2933 | ||
FR04071,48.8564,2.33528 | ||
FR04071,48.85639,2.33528 | ||
FR04118,48.87027,2.3325 | ||
FR04118,48.87029,2.3325 | ||
FR04131,48.87333,2.33028 | ||
FR04135,48.83795,2.40806 | ||
FR04135,48.83796,2.40806 | ||
FR04141,48.85278,2.36056 | ||
FR04141,48.85279,2.36056 | ||
FR04143,48.859,2.351 | ||
FR04143,48.85944,2.35111 | ||
FR04179,48.83038,2.26989 | ||
FR04329,48.8386,2.41279 | ||
FR04329,48.83862,2.41278 | ||
Camden Kerbside,51.54421,-0.17527 | ||
Ealing Horn Lane,51.51895,-0.26562 | ||
Haringey Roadside,51.5993,-0.06822 | ||
London Bexley,51.46603,0.18481 | ||
London Bloomsbury,51.52229,-0.12589 | ||
London Eltham,51.45258,0.07077 | ||
London Haringey Priory Park South,51.58413,-0.12525 | ||
London Harlington,51.48879,-0.44161 | ||
London Harrow Stanmore,51.61733,-0.29878 | ||
London Hillingdon,51.49633,-0.46086 | ||
London Marylebone Road,51.52253,-0.15461 | ||
London N. Kensington,51.52105,-0.21349 | ||
London Teddington,51.42099,-0.33965 | ||
London Teddington Bushy Park,51.42529,-0.34561 | ||
London Westminster,51.49467,-0.13193 | ||
Southend-on-Sea,51.5442,0.67841 | ||
Southwark A2 Old Kent Road,51.4805,-0.05955 | ||
Thurrock,51.47707,0.31797 | ||
Tower Hamlets Roadside,51.52253,-0.04216 | ||
Groton Fort Griswold,41.3536,-72.0789 |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,251 @@ | ||
/* Getting started pages */ | ||
|
||
/* data intro */ | ||
.gs-data { | ||
font-size: 0.9rem; | ||
} | ||
|
||
.gs-data-title { | ||
align-items: center; | ||
font-size: 0.9rem; | ||
} | ||
|
||
.gs-data-title .badge { | ||
margin: 10px; | ||
padding: 5px; | ||
} | ||
|
||
.gs-data .badge { | ||
cursor: pointer; | ||
padding: 10px; | ||
border: none; | ||
text-align: left; | ||
outline: none; | ||
font-size: 12px; | ||
} | ||
|
||
.gs-data .btn { | ||
background-color: grey; | ||
border: none; | ||
} | ||
|
||
/* note/alert properties */ | ||
|
||
.alert-heading { | ||
font-size: 1.2rem; | ||
} | ||
|
||
/* callout properties */ | ||
.gs-callout { | ||
padding: 20px; | ||
margin: 20px 0; | ||
border: 1px solid #eee; | ||
border-left-width: 5px; | ||
border-radius: 3px; | ||
} | ||
.gs-callout h4 { | ||
margin-top: 0; | ||
margin-bottom: 5px; | ||
} | ||
.gs-callout p:last-child { | ||
margin-bottom: 0; | ||
} | ||
.gs-callout code { | ||
border-radius: 3px; | ||
} | ||
.gs-callout+.gs-callout { | ||
margin-top: -5px; | ||
} | ||
.gs-callout-remember { | ||
border-left-color: #f0ad4e; | ||
align-items: center; | ||
font-size: 1.2rem; | ||
} | ||
.gs-callout-remember h4 { | ||
color: #f0ad4e; | ||
} | ||
|
||
/* reference to user guide */ | ||
.gs-torefguide { | ||
align-items: center; | ||
font-size: 0.9rem; | ||
} | ||
|
||
.gs-torefguide .badge { | ||
background-color: #130654; | ||
margin: 10px 10px 10px 0px; | ||
padding: 5px; | ||
} | ||
|
||
.gs-torefguide a { | ||
margin-left: 5px; | ||
color: #130654; | ||
border-bottom: 1px solid #FFCA00f3; | ||
box-shadow: 0px -10px 0px #FFCA00f3 inset; | ||
} | ||
|
||
.gs-torefguide p { | ||
margin-top: 1rem; | ||
} | ||
|
||
.gs-torefguide a:hover { | ||
margin-left: 5px; | ||
color: grey; | ||
text-decoration: none; | ||
border-bottom: 1px solid #b2ff80f3; | ||
box-shadow: 0px -10px 0px #b2ff80f3 inset; | ||
} | ||
|
||
/* question-task environment */ | ||
|
||
ul.task-bullet, ol.custom-bullet{ | ||
list-style:none; | ||
padding-left: 0; | ||
margin-top: 2em; | ||
} | ||
|
||
ul.task-bullet > li:before { | ||
content:""; | ||
height:2em; | ||
width:2em; | ||
display:block; | ||
float:left; | ||
margin-left:-2em; | ||
background-position:center; | ||
background-repeat:no-repeat; | ||
background-color: #130654; | ||
border-radius: 50%; | ||
background-size:100%; | ||
background-image:url('../question_mark_noback.svg'); | ||
} | ||
|
||
ul.task-bullet > li { | ||
border-left: 1px solid #130654; | ||
padding-left:1em; | ||
} | ||
|
||
ul.task-bullet > li > p:first-child { | ||
font-size: 1.1rem; | ||
padding-left: 0.75rem; | ||
} | ||
|
||
/* Getting started index page */ | ||
|
||
.intro-card { | ||
background:#FFF; | ||
border-radius:0; | ||
padding: 30px 10px 10px 10px; | ||
margin: 10px 0px; | ||
} | ||
|
||
.intro-card .card-text { | ||
margin:20px 0px; | ||
/*min-height: 150px; */ | ||
} | ||
|
||
.intro-card .card-img-top { | ||
margin: 10px; | ||
} | ||
|
||
.install-block { | ||
padding-bottom: 30px; | ||
} | ||
|
||
.install-card .card-header { | ||
border: none; | ||
background-color:white; | ||
color: #150458; | ||
font-size: 1.1rem; | ||
font-weight: bold; | ||
padding: 1rem 1rem 0rem 1rem; | ||
} | ||
|
||
.install-card .card-footer { | ||
border: none; | ||
background-color:white; | ||
} | ||
|
||
.install-card pre { | ||
margin: 0 1em 1em 1em; | ||
} | ||
|
||
.custom-button { | ||
background-color:#DCDCDC; | ||
border: none; | ||
color: #484848; | ||
text-align: center; | ||
text-decoration: none; | ||
display: inline-block; | ||
font-size: 0.9rem; | ||
border-radius: 0.5rem; | ||
max-width: 120px; | ||
padding: 0.5rem 0rem; | ||
} | ||
|
||
.custom-button a { | ||
color: #484848; | ||
} | ||
|
||
.custom-button p { | ||
margin-top: 0; | ||
margin-bottom: 0rem; | ||
color: #484848; | ||
} | ||
|
||
/* intro to tutorial collapsed cards */ | ||
|
||
.tutorial-accordion { | ||
margin-top: 20px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.tutorial-card .card-header.card-link .btn { | ||
margin-right: 12px; | ||
} | ||
|
||
.tutorial-card .card-header.card-link .btn:after { | ||
content: "-"; | ||
} | ||
|
||
.tutorial-card .card-header.card-link.collapsed .btn:after { | ||
content: "+"; | ||
} | ||
|
||
.tutorial-card-header-1 { | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
.tutorial-card-header-2 { | ||
justify-content: flex-start; | ||
align-items: center; | ||
font-size: 1.3rem; | ||
} | ||
|
||
.tutorial-card .card-header { | ||
cursor: pointer; | ||
background-color: white; | ||
} | ||
|
||
.tutorial-card .card-body { | ||
background-color: #F0F0F0; | ||
} | ||
|
||
.tutorial-card .badge { | ||
background-color: #130654; | ||
margin: 10px 10px 10px 10px; | ||
padding: 5px; | ||
} | ||
|
||
.tutorial-card .gs-badge-link p { | ||
margin: 0px; | ||
} | ||
|
||
.tutorial-card .gs-badge-link a { | ||
color: white; | ||
text-decoration: none; | ||
} | ||
|
||
.tutorial-card .badge:hover { | ||
background-color: grey; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved some of those (the ones that are not specific to the getting started pages, but are also used on the home page now) to a
pandas.css
(in a previous PR), so you can remove here