Skip to content

Commit

Permalink
update r 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fralfaro committed Sep 22, 2023
1 parent adb3e9a commit f03a965
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 20 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@


This repository serves as a hub for various Cheat Sheets related to
the field of Data Science (with Python). What sets these Cheat Sheets apart is their
the field of Data Science (with Python and R). What sets these Cheat Sheets apart is their
multidimensional approach to enhancing the learning experience.
Each Cheat Sheet is made available in three distinct formats: **PDF**, **Streamlit**, and **Google Colab**.

This threefold approach to guarantee that learners can interact with the content in
a manner that aligns with their preferences and learning style.

**Content**
## Content

### Python

| Topic | PDF | Streamlit | Google Colab |
|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
Expand All @@ -26,6 +28,14 @@ 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> |

### R

| Topic | PDF | Streamlit | Google Colab |
|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| dplyr | <a href="https://github.com/fralfaro/DS-Cheat-Sheets/blob/main/docs/files/dplyr_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-dplyr.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/dplyr/dplyr.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a> |
| ggplot2 | <a href="https://github.com/fralfaro/DS-Cheat-Sheets/blob/main/docs/files/ggplot2_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-ggplot2.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/ggplot2/ggplot2.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a> |
| forcats | <a href="https://github.com/fralfaro/DS-Cheat-Sheets/blob/main/docs/files/forcats_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-forcats.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/forcats/forcats.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a> |

> **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
6 changes: 3 additions & 3 deletions docs/examples/dplyr/dplyr.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"metadata": {},
"source": [
"<div style=\"display: flex; align-items: center;\">\n",
" <a href=\"https://github.com/fralfaro/DS-Cheat-Sheets/blob/main/docs/files/numpy_cs.pdf\" target=\"_parent\" style=\"margin-right: 10px;\">\n",
" <a href=\"https://github.com/fralfaro/DS-Cheat-Sheets/blob/main/docs/files/dplyr_cs.pdf\" target=\"_parent\" style=\"margin-right: 10px;\">\n",
" <img src=\"https://img.shields.io/badge/Open in PDF-%23FF0000.svg?style=flat-square&logo=adobe&logoColor=white\"/>\n",
" </a>\n",
" <a href=\"https://ds-cheat-sheets-numpy.streamlit.app/\" target=\"_parent\" style=\"margin-right: 10px;\">\n",
" <a href=\"https://ds-cheat-sheets-dplyr.streamlit.app/\" target=\"_parent\" style=\"margin-right: 10px;\">\n",
" <img src=\"https://static.streamlit.io/badges/streamlit_badge_black_white.svg\"/>\n",
" </a>\n",
" <a href=\"https://colab.research.google.com/github/fralfaro/DS-Cheat-Sheets/blob/main/docs/examples/numpy/numpy.ipynb\" target=\"_parent\">\n",
" <a href=\"https://colab.research.google.com/github/fralfaro/DS-Cheat-Sheets/blob/main/docs/examples/dplyr/dplyr.ipynb\" target=\"_parent\">\n",
" <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/>\n",
" </a>\n",
"</div>"
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/forcats/forcats.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
},
"source": [
"<div style=\"display: flex; align-items: center;\">\n",
" <a href=\"https://github.com/fralfaro/DS-Cheat-Sheets/blob/main/docs/files/numpy_cs.pdf\" target=\"_parent\" style=\"margin-right: 10px;\">\n",
" <a href=\"https://github.com/fralfaro/DS-Cheat-Sheets/blob/main/docs/files/forcats_cs.pdf\" target=\"_parent\" style=\"margin-right: 10px;\">\n",
" <img src=\"https://img.shields.io/badge/Open in PDF-%23FF0000.svg?style=flat-square&logo=adobe&logoColor=white\"/>\n",
" </a>\n",
" <a href=\"https://ds-cheat-sheets-numpy.streamlit.app/\" target=\"_parent\" style=\"margin-right: 10px;\">\n",
" <a href=\"https://ds-cheat-sheets-forcats.streamlit.app/\" target=\"_parent\" style=\"margin-right: 10px;\">\n",
" <img src=\"https://static.streamlit.io/badges/streamlit_badge_black_white.svg\"/>\n",
" </a>\n",
" <a href=\"https://colab.research.google.com/github/fralfaro/DS-Cheat-Sheets/blob/main/docs/examples/numpy/numpy.ipynb\" target=\"_parent\">\n",
" <a href=\"https://colab.research.google.com/github/fralfaro/DS-Cheat-Sheets/blob/main/docs/examples/forcats/forcats.ipynb\" target=\"_parent\">\n",
" <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/>\n",
" </a>\n",
"</div>"
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/ggplot2/ggplot2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"metadata": {},
"source": [
"<div style=\"display: flex; align-items: center;\">\n",
" <a href=\"https://github.com/fralfaro/DS-Cheat-Sheets/blob/main/docs/files/numpy_cs.pdf\" target=\"_parent\" style=\"margin-right: 10px;\">\n",
" <a href=\"https://github.com/fralfaro/DS-Cheat-Sheets/blob/main/docs/files/ggplot2_cs.pdf\" target=\"_parent\" style=\"margin-right: 10px;\">\n",
" <img src=\"https://img.shields.io/badge/Open in PDF-%23FF0000.svg?style=flat-square&logo=adobe&logoColor=white\"/>\n",
" </a>\n",
" <a href=\"https://ds-cheat-sheets-numpy.streamlit.app/\" target=\"_parent\" style=\"margin-right: 10px;\">\n",
" <a href=\"https://ds-cheat-sheets-ggplot2.streamlit.app/\" target=\"_parent\" style=\"margin-right: 10px;\">\n",
" <img src=\"https://static.streamlit.io/badges/streamlit_badge_black_white.svg\"/>\n",
" </a>\n",
" <a href=\"https://colab.research.google.com/github/fralfaro/DS-Cheat-Sheets/blob/main/docs/examples/numpy/numpy.ipynb\" target=\"_parent\">\n",
" <a href=\"https://colab.research.google.com/github/fralfaro/DS-Cheat-Sheets/blob/main/docs/examples/ggplot2/ggplot2.ipynb\" target=\"_parent\">\n",
" <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/>\n",
" </a>\n",
"</div>\n",
Expand Down
31 changes: 30 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Cheat Sheets for Data Science Learning

This repository serves as a hub for various Cheat Sheets related to
the field of Data Science (with Python). What sets these Cheat Sheets apart is their
the field of Data Science (with Python and R). What sets these Cheat Sheets apart is their
multidimensional approach to enhancing the learning experience.
Each Cheat Sheet is made available in three distinct formats:

Expand All @@ -11,6 +11,8 @@ Each Cheat Sheet is made available in three distinct formats:

## Content

### Python

::cards:: cols=3

- title: Python
Expand Down Expand Up @@ -58,6 +60,33 @@ Each Cheat Sheet is made available in three distinct formats:

::/cards::

### R

::cards:: cols=3

- title: Dplyr
content: "
dplyr is a data manipulation tool that offers a consistent set of actions for solving common data manipulation tasks.
"
image: https://rstudio.github.io/cheatsheets/html/images/logo-dplyr.png
url: ./examples/dplyr/dplyr/

- title: Ggplot2
content: "
ggplot2 is a system for declaratively creating graphics, based on The Grammar of Graphics.
"
image: https://rstudio.github.io/cheatsheets/html/images/logo-ggplot2.png
url: ./examples/ggplot2/ggplot2/

- title: Forcats
content: "
forcats package is to provide a suite of tools that solve common problems with factors (in R).
"
image: https://rstudio.github.io/cheatsheets/html/images/logo-forcats.png
url: ./examples/forcats/forcats/

::/cards::

> **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.
## References
Expand Down
21 changes: 13 additions & 8 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2016-2022 Martin Donath <[email protected]>

# Project information
site_name: DS-Cheat-Sheets
site_name: DS CheatSheets
site_url: https://github.com/fralfaro/DS-Cheat-Sheets
site_author: Francisco Alfaro
site_description:
Expand Down Expand Up @@ -43,7 +43,7 @@ extra_javascript:
theme:
name: material
language: en
logo: images/python.png
logo: images/rpython.svg
favicon: images/logo_fam.png
features:
- navigation.instant
Expand Down Expand Up @@ -96,12 +96,17 @@ plugins:
nav:
- Home: index.md
- Cheat Sheets:
- Python: examples/python/python.ipynb
- Numpy: examples/numpy/numpy.ipynb
- Pandas: examples/pandas/pandas.ipynb
- Matplotlib: examples/matplotlib/matplotlib.ipynb
- Scikit-Learn: examples/scikit-learn/sklearn.ipynb
- Polars: examples/polars/polars.ipynb
- Python:
- Python: examples/python/python.ipynb
- Numpy: examples/numpy/numpy.ipynb
- Pandas: examples/pandas/pandas.ipynb
- Matplotlib: examples/matplotlib/matplotlib.ipynb
- Scikit-Learn: examples/scikit-learn/sklearn.ipynb
- Polars: examples/polars/polars.ipynb
- R:
- Dplyr: examples/dplyr/dplyr.ipynb
- Ggplot2: examples/ggplot2/ggplot2.ipynb
- Forcats: examples/forcats/forcats.ipynb



Expand Down

0 comments on commit f03a965

Please sign in to comment.