Python

Variables and Data Types

Learn how Python stores and labels data without requiring you to declare a type upfront. This section covers the core data types which are strings, integers, floats, and booleans and how Python infers type automatically at runtime.

Tuples

Covers tuples as a fixed, unchangeable alternative to lists useful for data that shouldn’t be modified, such as coordinates or fixed groupings of values.

Python in RStudio

RStudio isn’t just for R it has built-in support for Python through the reticulate package, letting you run Python code, share objects between R and Python, and use Python-based tools (pandas, matplotlib, scikit-learn) without leaving RStudio.