Skip to content

Guide · Open source

How to use ds-cheatsheets: find and open data science reference sheets

Updated · written with AI from the project's own documentation and checked against our catalogue data

ds-cheatsheets is a free, MIT-licensed GitHub list of downloadable one-page reference sheets on data science topics such as Python, R, pandas, SQL, statistics, machine learning, deep learning and data visualization. This guide shows you how to find the right sheet, open it or clone the repository to keep a local copy, and judge when a sheet is too old to trust. By the end you will know where each topic lives in the list and how to use the sheets as a quick reference while you work.

ds-cheatsheetsFavioVazquez/ds-cheatsheets · ★ 16.4k · MIT

Quick start

  1. 1Open the README. Go to the ds-cheatsheets repository on GitHub and read the table of contents.
  2. 2Choose a topic. Pick a section such as Python, R, SQL or Machine Learning that matches your task.
  3. 3Open the PDF. Click the link next to the sheet you need to view or print it in your browser.
  4. 4Clone for offline use (optional). Run git clone https://github.com/FavioVazquez/ds-cheatsheets to keep a local copy of the PDFs.
  5. 5Confirm against current docs. Check exact function names and arguments in the official documentation for the library.

What ds-cheatsheets is and what it is not

ds-cheatsheets is a curated list rather than a piece of software. Each entry links to a PDF hosted in the repository or in linked RStudio and Business Science cheatsheet collections. The sheets are meant to be printed or kept open as a quick reference.

The list is not a course. The sheets are short reference material, so they do not walk you through a topic step by step. The repository's last push was 2024-07-18, and some sheets may be dated, so check any library-specific syntax against current official documentation.

Open a cheatsheet directly from the list

The simplest way to use ds-cheatsheets is to open the README on GitHub, use the table of contents to jump to a topic, and click the link to the PDF. No installation is needed, and the project lists no prerequisites.

  • Python: Python Basics, Pandas Basics, Pandas, Importing Data, Jupyter, Numpy Basics, Intermediate Python, Python REGEX and Python 3 Memento.
  • R: Tidiverse, data.table, Base R, Data Import with readr, Data Transformation with Dplyr, Regular Expressions, Work with Strings with stringr and R Markdown.
  • SQL: two SQL cheatsheets, one from sqltutorial and one from Rebel Labs.
  • Math and Calculus, Big Data, Machine Learning, Deep Learning and Data Visualization each have their own section.

Clone the repository for a local copy of the PDFs

If you want the PDFs on your own machine, for example to print them or keep them available offline, the README gives one install command. It downloads a local copy of the repository, including its PDFs.

  • Make sure git is installed on your computer.
  • Run the command in a terminal in the folder where you want the copy.
  • Open the PDFs from the cloned folder, using the paths shown in the README table of contents.
git clone https://github.com/FavioVazquez/ds-cheatsheets

Pick the right sheet for your goal

Beginners learning Python or R will find basics sheets such as Python Basics, Beginners Python Cheat Sheet and Tidiverse. Analysts looking up syntax will find pandas, dplyr, data.table and SQL sheets. Students reviewing math or statistics can use the Refresher Algebra and Calculus and Refresher Probabilities and Statistics sheets, and the Fundamentals of Probabilities sheet.

For machine learning, the list includes supervised and unsupervised learning sheets, a tips and tricks sheet and a model-choice image. For deep learning it includes neural network, convolutional and recurrent network sheets.

Check whether a sheet is still current

Because the list is a set of links to third-party and community sheets, the age of each sheet varies. Before relying on a function name or argument, compare it with the official documentation for the library you are using. Treat the sheet as a memory aid and the official docs as the source of truth.

  • Look for a library name in the sheet title and check its current documentation.
  • Use the sheets for orientation, then confirm exact function names and arguments.
  • If a sheet links to a source outside the repository, the linked collection may be maintained separately.

What people use it for

  • A beginner printing the Python Basics and Pandas Basics sheets to keep next to their desk.
  • A student reviewing probability with the Fundamentals of Probabilities sheet before an exam.
  • A data analyst looking up dplyr verbs in the Data Transformation with Dplyr sheet.
  • A teacher sharing a folder of printable PDFs from the cloned repository with a class.
  • A developer comparing SQL syntax across the two SQL cheatsheets in the list.

Frequently asked questions

Is ds-cheatsheets free to use?

Yes. The repository is licensed under MIT, so you can use it under those terms. The individual PDFs are hosted in the repository or linked from RStudio and Business Science collections, and each keeps its own origin.

Do I need to install anything to use ds-cheatsheets?

No. The project is used by reading online, and the README lists no prerequisites. You only need git if you want a local copy with git clone.

How do I download all the cheatsheets?

Run git clone https://github.com/FavioVazquez/ds-cheatsheets in a terminal. This gives you a local copy of the repository with its PDFs. The README does not describe any other download method.

Are the cheatsheets up to date?

Not necessarily. The last push was 2024-07-18 and some sheets may be dated. Check library-specific syntax against the current official documentation.

What are alternatives to ds-cheatsheets?

The project lists rstudio/cheatsheets and Mikoto10032/DataScience-Cheatsheets as comparable projects. The rstudio/cheatsheets collection is also linked from ds-cheatsheets for many R sheets.

Is ds-cheatsheets good for learning from scratch?

It is best as a quick reference. The sheets are short and do not replace full tutorials or courses, so pair them with a course if you are starting out.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use ds-cheatsheets if you want a free, printable collection of quick reference sheets for Python, R, pandas, SQL, statistics and machine learning. Pick something else if you need step-by-step tutorials or guaranteed up-to-date library documentation.

Install options & downloads