Skip to content
New batch: Snowflake + DBT starts soon — limited seats. Learn more →
Python for Data Engineering

Python data types cheat sheet

admin · 26 Sep 2026 · 1 min read

Core types

TypeExampleMutable?
int42No
float3.14No
str"FuGen"No
list[1, 2, 3]Yes
dict{"a": 1}Yes
tuple(1, 2)No

Tips

  • Use f-strings for formatting: f"Hello {name}".
  • Use type(x) to check a type while debugging.
name = "FuGen Academy"\nprint(f"Welcome to {name}!")

Want the full course?

This note is part of Python for Data Engineering.

View course

Related notes