├── .github └── FUNDING.yml ├── .gitignore ├── LICENSE ├── README.md ├── cheat-sheets ├── ChartGuide.pdf ├── Docker-cheat-sheet.pdf ├── Keras-cheat-sheet.pdf ├── OpenCV-cheat-sheet.pdf ├── Pandas-cheat-sheet.pdf ├── PySpark-cheat-sheet.pdf ├── Python-regular-expressions-cheat-sheet.pdf ├── choosing-a-good-chart.pdf └── sql-cheat-sheet.pdf └── images ├── ChartGuide.png ├── Docker-cheat-sheet.png ├── Keras-cheat-sheet.png ├── OpenCV-cheat-sheet.png ├── Pandas-cheat-sheet.png ├── PySpark-cheat-sheet.png ├── Python-regular-expressions-cheat-sheet.png ├── choosing-a-good-chart.png └── sql-cheat-sheet.png /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: FranzDiebold 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Created by https://www.toptal.com/developers/gitignore/api/macos,visualstudiocode 3 | # Edit at https://www.toptal.com/developers/gitignore?templates=macos,visualstudiocode 4 | 5 | ### macOS ### 6 | # General 7 | .DS_Store 8 | .AppleDouble 9 | .LSOverride 10 | 11 | # Icon must end with two \r 12 | Icon 13 | 14 | 15 | # Thumbnails 16 | ._* 17 | 18 | # Files that might appear in the root of a volume 19 | .DocumentRevisions-V100 20 | .fseventsd 21 | .Spotlight-V100 22 | .TemporaryItems 23 | .Trashes 24 | .VolumeIcon.icns 25 | .com.apple.timemachine.donotpresent 26 | 27 | # Directories potentially created on remote AFP share 28 | .AppleDB 29 | .AppleDesktop 30 | Network Trash Folder 31 | Temporary Items 32 | .apdisk 33 | 34 | ### macOS Patch ### 35 | # iCloud generated files 36 | *.icloud 37 | 38 | ### VisualStudioCode ### 39 | .vscode/* 40 | !.vscode/settings.json 41 | !.vscode/tasks.json 42 | !.vscode/launch.json 43 | !.vscode/extensions.json 44 | !.vscode/*.code-snippets 45 | 46 | # Local History for Visual Studio Code 47 | .history/ 48 | 49 | # Built Visual Studio Code Extensions 50 | *.vsix 51 | 52 | ### VisualStudioCode Patch ### 53 | # Ignore all local history of files 54 | .history 55 | .ionide 56 | 57 | # Support for Project snippet scope 58 | .vscode/*.code-snippets 59 | 60 | # Ignore code-workspaces 61 | *.code-workspace 62 | 63 | # End of https://www.toptal.com/developers/gitignore/api/macos,visualstudiocode -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Franz Diebold 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Data Science cheat sheets 2 | 3 | A collection of Data Science cheat sheets. 4 | 5 | ## Table of contents 6 | 7 | - [Data Extraction](#data-extraction) 8 | - [SQL](#sql) 9 | - [Python Regular expressions](#python-regular-expressions) 10 | - [Data Processing](#data-processing) 11 | - [Polars](#polars) 12 | - [Pandas](#pandas) 13 | - [PySpark](#pyspark) 14 | - [Computer Vision](#computer-vision) 15 | - [OpenCV](#opencv) 16 | - [Visualization](#visualization) 17 | - [Plotly Express](#plotly-express) 18 | - [Choosing a good chart](#choosing-a-good-chart) 19 | - [Chart guide](#chart-guide) 20 | - [Modeling](#modeling) 21 | - [Keras](#keras) 22 | - [Infrastructure](#infrastructure) 23 | - [Docker](#docker) 24 | 25 | ## Data Extraction 26 | 27 | ### SQL 28 | 29 | [![SQL cheat sheet](images/sql-cheat-sheet.png)](cheat-sheets/sql-cheat-sheet.pdf) 30 | 31 | Source: [https://learnsql.com/tags/cheat-sheet/](https://learnsql.com/tags/cheat-sheet/) 32 | 33 | ### [Python Regular expressions](https://docs.python.org/3/library/re.html) 34 | 35 | [![Python regular expressions cheat sheet](images/Python-regular-expressions-cheat-sheet.png)](cheat-sheets/Python-regular-expressions-cheat-sheet.pdf) 36 | 37 | Source: [https://www.dataquest.io/blog/regex-cheatsheet/](https://www.dataquest.io/blog/regex-cheatsheet/) 38 | 39 | ## Data Processing 40 | 41 | ### [Polars](https://www.pola.rs/) 42 | 43 | [![Polars cheat sheet](https://franzdiebold.github.io/polars-cheat-sheet/Polars_cheat_sheet.png)](https://franzdiebold.github.io/polars-cheat-sheet/Polars_cheat_sheet.pdf) 44 | 45 | Source: [FranzDiebold/polars-cheat-sheet](https://github.com/FranzDiebold/polars-cheat-sheet) 46 | 47 | ### [Pandas](https://pandas.pydata.org/) 48 | 49 | [![Pandas cheat sheet](images/Pandas-cheat-sheet.png)](cheat-sheets/Pandas-cheat-sheet.pdf) 50 | 51 | Source: [https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf](https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf) 52 | 53 | ### [PySpark](https://spark.apache.org/docs/latest/api/python/) 54 | 55 | [![PySpark cheat sheet](images/PySpark-cheat-sheet.png)](cheat-sheets/PySpark-cheat-sheet.pdf) 56 | 57 | Source: [https://www.datacamp.com/cheat-sheet/pyspark-cheat-sheet-spark-dataframes-in-python](https://www.datacamp.com/cheat-sheet/pyspark-cheat-sheet-spark-dataframes-in-python) 58 | 59 | ## Computer Vision 60 | 61 | ### [OpenCV](https://opencv.org/) 62 | 63 | [![OpenCV cheat sheet](images/OpenCV-cheat-sheet.png)](cheat-sheets/OpenCV-cheat-sheet.pdf) 64 | 65 | Source: [https://github.com/a-anjos/python-opencv](https://github.com/a-anjos/python-opencv) 66 | 67 | ## Visualization 68 | 69 | ### [Plotly Express](https://plotly.com/python/plotly-express/) 70 | 71 | [![Plotly Express cheat sheet](https://franzdiebold.github.io/plotly-express-cheat-sheet/Plotly_Express_cheat_sheet.png)](https://franzdiebold.github.io/plotly-express-cheat-sheet/Plotly_Express_cheat_sheet.pdf) 72 | 73 | Source: [FranzDiebold/plotly-express-cheat-sheet](https://github.com/FranzDiebold/plotly-express-cheat-sheet) 74 | 75 | ### Choosing a good chart 76 | 77 | [![Choosing a good chart](images/choosing-a-good-chart.png)](cheat-sheets/choosing-a-good-chart.pdf) 78 | 79 | Source: [https://www.tapclicks.com/resources/blog/data-visualization-types/](https://www.tapclicks.com/resources/blog/data-visualization-types/) 80 | 81 | ### Chart guide 82 | 83 | [![Chart Guide](images/ChartGuide.png)](cheat-sheets/ChartGuide.pdf) 84 | 85 | Source: [https://chart.guide/poster/](https://chart.guide/poster/) 86 | 87 | ## Modeling 88 | 89 | ### [Keras](https://keras.io/) 90 | 91 | [![Keras cheat sheet](images/Keras-cheat-sheet.png)](cheat-sheets/Keras-cheat-sheet.pdf) 92 | 93 | Source: [https://www.datacamp.com/cheat-sheet/keras-cheat-sheet-neural-networks-in-python](https://www.datacamp.com/cheat-sheet/keras-cheat-sheet-neural-networks-in-python) 94 | 95 | ## Infrastructure 96 | 97 | ### [Docker](https://www.docker.com/) 98 | 99 | [![Docker cheat sheet](images/Docker-cheat-sheet.png)](cheat-sheets/Docker-cheat-sheet.pdf) 100 | 101 | Sources: 102 | 103 | - [https://www.lostindetails.com/cheatsheet/docker/docker_blue_light1.pdf](https://www.lostindetails.com/cheatsheet/docker/docker_blue_light1.pdf) 104 | - [https://dockerlux.github.io/pdf/cheat-sheet-v2.pdf](https://dockerlux.github.io/pdf/cheat-sheet-v2.pdf) 105 | -------------------------------------------------------------------------------- /cheat-sheets/ChartGuide.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/cheat-sheets/ChartGuide.pdf -------------------------------------------------------------------------------- /cheat-sheets/Docker-cheat-sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/cheat-sheets/Docker-cheat-sheet.pdf -------------------------------------------------------------------------------- /cheat-sheets/OpenCV-cheat-sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/cheat-sheets/OpenCV-cheat-sheet.pdf -------------------------------------------------------------------------------- /cheat-sheets/Pandas-cheat-sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/cheat-sheets/Pandas-cheat-sheet.pdf -------------------------------------------------------------------------------- /cheat-sheets/PySpark-cheat-sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/cheat-sheets/PySpark-cheat-sheet.pdf -------------------------------------------------------------------------------- /cheat-sheets/Python-regular-expressions-cheat-sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/cheat-sheets/Python-regular-expressions-cheat-sheet.pdf -------------------------------------------------------------------------------- /cheat-sheets/choosing-a-good-chart.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/cheat-sheets/choosing-a-good-chart.pdf -------------------------------------------------------------------------------- /cheat-sheets/sql-cheat-sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/cheat-sheets/sql-cheat-sheet.pdf -------------------------------------------------------------------------------- /images/ChartGuide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/images/ChartGuide.png -------------------------------------------------------------------------------- /images/Docker-cheat-sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/images/Docker-cheat-sheet.png -------------------------------------------------------------------------------- /images/Keras-cheat-sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/images/Keras-cheat-sheet.png -------------------------------------------------------------------------------- /images/OpenCV-cheat-sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/images/OpenCV-cheat-sheet.png -------------------------------------------------------------------------------- /images/Pandas-cheat-sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/images/Pandas-cheat-sheet.png -------------------------------------------------------------------------------- /images/PySpark-cheat-sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/images/PySpark-cheat-sheet.png -------------------------------------------------------------------------------- /images/Python-regular-expressions-cheat-sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/images/Python-regular-expressions-cheat-sheet.png -------------------------------------------------------------------------------- /images/choosing-a-good-chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/images/choosing-a-good-chart.png -------------------------------------------------------------------------------- /images/sql-cheat-sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranzDiebold/data-science-cheat-sheets/65dcd31ce3a0ee4e669c701703328aa15d7331ad/images/sql-cheat-sheet.png --------------------------------------------------------------------------------