Skip to main content
Questions Why Us Pricing Log In Sign Up

Inspection

What are some common ways to inspect a DataFrame?

Answer

Use the following:

Python
df.head()      # first rows
df.tail()      # last rows
df.describe()  # statistics summary
df.columns     # column labels
df.index       # row labels
df.dtypes      # data types of each column
← Back to collection
← Previous question Vectorized Syntax Next question Modifying Structure: Renaming Columns →

Social

  • Instagram

Contact

  • linkedin.com/in/rinorbirinxhiku/

Legal

  • Privacy Policy
  • Terms of Service
© 2026 quant.rb. All rights reserved.