Skip to content

Commit

Permalink
update mkdocs + .ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
fralfaro committed Sep 21, 2023
1 parent 5f63fdc commit 84d5eb3
Show file tree
Hide file tree
Showing 24 changed files with 2,422 additions and 3,051 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
.ipynb_checkpoints/
Studies/
/.idea/
vizzu/
vizzu/
docs/examples/probability-distribution
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ a manner that aligns with their preferences and learning style.
| scikit-learn | <a href="https://github.com/fralfaro/DS-Cheat-Sheets/blob/main/docs/files/scikit-learn_cs.pdf" target="_parent"><img src="https://img.shields.io/badge/Open in PDF-%23FF0000.svg?style=flat-square&logo=adobe&logoColor=white"/></a> | <a href="https://ds-cheat-sheets-sklearn.streamlit.app/" target="_parent"><img src="https://static.streamlit.io/badges/streamlit_badge_black_white.svg"/></a> | <a href="https://colab.research.google.com/github/fralfaro/DS-Cheat-Sheets/blob/main/docs/examples/scikit-learn/sklearn.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a> |
| polars | <a href="https://github.com/fralfaro/DS-Cheat-Sheets/blob/main/docs/files/polars_cs.pdf" target="_parent"><img src="https://img.shields.io/badge/Open in PDF-%23FF0000.svg?style=flat-square&logo=adobe&logoColor=white"/></a> | <a href="https://ds-cheat-sheets-polars.streamlit.app/" target="_parent"><img src="https://static.streamlit.io/badges/streamlit_badge_black_white.svg"/></a> | <a href="https://colab.research.google.com/github/fralfaro/DS-Cheat-Sheets/blob/main/docs/examples/polars/polars.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a> |

#000000

> **Note**: The PDF format cheat sheets included here are authored by other contributors and have been used as sources of inspiration for the content presented.
## More Information
Expand Down Expand Up @@ -87,4 +89,5 @@ require any setup or installation.
* [Cheatsheets and Handouts - Matplotlib](https://matplotlib.org/cheatsheets/)
* [Streamlit Cheat Sheet - Daniel Lewis](https://github.com/daniellewisDL/streamlit-cheat-sheet)
* [Polars cheat sheet - Franz Diebold](https://github.com/FranzDiebold/polars-cheat-sheet)
* [Posit Cheatsheets - Posit](https://rstudio.github.io/cheatsheets/)

102 changes: 102 additions & 0 deletions docs/css/neoteroi-cards.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
.nt-cards.nt-grid {
display: grid;
grid-auto-columns: 1fr;
gap: 0.5rem;
max-width: 100vw;
overflow-x: auto;
padding: 1px;
}
.nt-cards.nt-grid.cols-1 {
grid-template-columns: repeat(1, 1fr);
}
.nt-cards.nt-grid.cols-2 {
grid-template-columns: repeat(2, 1fr);
}
.nt-cards.nt-grid.cols-3 {
grid-template-columns: repeat(3, 1fr);
}
.nt-cards.nt-grid.cols-4 {
grid-template-columns: repeat(4, 1fr);
}
.nt-cards.nt-grid.cols-5 {
grid-template-columns: repeat(5, 1fr);
}
.nt-cards.nt-grid.cols-6 {
grid-template-columns: repeat(6, 1fr);
}

@media only screen and (max-width: 400px) {
.nt-cards.nt-grid {
grid-template-columns: repeat(1, 1fr) !important;
}
}
.nt-card {
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.nt-card:hover {
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 3px 1px -2px rgba(0, 0, 0, 0.3), 0 1px 5px 0 rgba(0, 0, 0, 0.22);
}

[data-md-color-scheme=slate] .nt-card {
box-shadow: 0 2px 2px 0 rgba(4, 40, 33, 0.14), 0 3px 1px -2px rgba(40, 86, 94, 0.47), 0 1px 5px 0 rgba(139, 252, 255, 0.64);
}
[data-md-color-scheme=slate] .nt-card:hover {
box-shadow: 0 2px 2px 0 rgba(0, 255, 206, 0.14), 0 3px 1px -2px rgba(33, 156, 177, 0.47), 0 1px 5px 0 rgba(96, 251, 255, 0.64);
}

.nt-card > a {
color: var(--md-default-fg-color);
}

.nt-card > a > div {
cursor: pointer;
}

.nt-card {
padding: 5px;
margin-bottom: 0.5rem;
}

.nt-card-title {
font-size: 1rem;
font-weight: bold;
margin: 4px 0 8px 0;
line-height: 22px;
}

.nt-card-content {
padding: 0.4rem 0.8rem 0.8rem 0.8rem;
}

.nt-card-text {
font-size: 14px;
padding: 0;
margin: 0;
}

.nt-card .nt-card-image {
text-align: center;
border-radius: 2px;
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
min-height: 120px;
}

.nt-card .nt-card-image.tags img {
margin-top: 12px;
}

.nt-card .nt-card-image img {
height: 105px;
margin-top: 5px;
}

.nt-card a:hover,
.nt-card a:focus {
color: var(--md-accent-fg-color);
}

.nt-card h2 {
margin: 0;
}
Loading

0 comments on commit 84d5eb3

Please sign in to comment.