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.



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://www.w3resource.com/pandas/attributes-and-underlying-data.php