Preview and Structure in Python
From the Pandas cheat sheet ยท Inspect Data ยท verified Aug 2026
Preview and Structure
Inspect rows and structural metadata.
python
df.head()
df.tail()
df.shapeโก head() returns five rows by default
๐ info() reveals null counts and dtypes
๐ deep=True includes object-backed memory
๐ฏ Inspect data immediately after loading
inspectinfoshape
Continue with Pandas
Save the full cheat sheet or work through every related task.