w3resource

Pandas: Attributes and Underlying data

Attributes and Underlying data

pandas objects have a number of attributes enabling you to access the metadata

  • shape: gives the axis dimensions of the object, consistent with ndarray
  • Axis labels
    • Series: index (only axis)
    • DataFrame: index (rows) and columns

Note, these attributes can be safely assigned to!

Complete list of Attributes and Underlying data with examples:


Download the Pandas DataFrame Notebooks from here.



Follow us on Facebook and Twitter for latest update.