Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions web/pandas/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ main:
- meta
- footnotes
- codehilite
- admonition
static:
logo: static/img/pandas_white.svg
css:
Expand Down
7 changes: 7 additions & 0 deletions web/pandas/pdeps/0010-required-pyarrow-dependency.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@

[TOC]

!!! note
While this PDEP mentions adding pyarrow as a required dependency in
pandas 3.0, this aspect has been delayed until after pandas 3.0 (see the
abstract of [PDEP-14](https://pandas.pydata.org/pdeps/0014-string-dtype.html)).
Therefore, pandas 3.0 will *not* have a hard requirement on pyarrow but still use
pyarrow by default (for the new string dtype) when installed.

## Abstract

This PDEP proposes that:
Expand Down
63 changes: 63 additions & 0 deletions web/pandas/static/css/pandas.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,66 @@ h2:hover a.headerlink, h3:hover a.headerlink {
opacity: 1;
transition: opacity 0.5s;
}


/** Copied from the pydata-sphinx-theme **/
div.admonition, .admonition {
margin: 1.5625em auto;
padding: 0 0.6rem 0.8rem;
overflow: hidden;
box-shadow: 0 .2rem .5rem rgba(0,0,0,0.1),0 0 .0625rem rgba(0,0,0,0.1) !important;
/* break-inside has replaced page-break-inside and is widely usable since 2019 */
page-break-inside: avoid;
break-inside: avoid;
border-left: 0.2rem solid;
border-color: #276be9;
border-radius: 0.25rem;
background-color: #fff;
/** * Special-case for a `sidebar` class that makes the admonition float to * the right like the {
sidebar
}
directive. */
}
div.admonition *:last-child, .admonition *:last-child {
margin-bottom: 0;
}
div.admonition p.admonition-title ~ *, .admonition p.admonition-title ~ * {
margin-left: 1.4rem;
margin-right: 1.4rem;
}
div.admonition > ol, .admonition > ol, div.admonition > ul, .admonition > ul {
margin-left: 1em;
}
div.admonition > .admonition-title, .admonition > .admonition-title {
margin: 0 -0.6rem;
padding: 0.4rem 0.6rem 0.4rem 2rem;
/* font-weight: var(--pst-admonition-font-weight-heading); */
position: relative;
background-color: #dce7fc;
z-index: 1;
}
div.admonition > .admonition-title::after, .admonition > .admonition-title::after {
position: absolute;
left: 0.5rem;
width: 1rem;
height: 1rem;
/* color: var(--pst-color-info); */
/* font: var(--fa-font-solid); */
line-height: inherit;
/* content: "\f05a"; */
opacity: 1;
}
div.admonition > .admonition-title + *, .admonition > .admonition-title + * {
margin-top: 0.4em;
}

div.admonition.note, .admonition.note {
border-color: #276be9;
}
div.admonition.note > .admonition-title, .admonition.note > .admonition-title {
background-color: #dce7fc;
}
div.admonition.note > .admonition-title::after, .admonition.note > .admonition-title::after {
color: #276be9;
/* content: "\f05a"; */
}