DataFrame — pandas 3.0.0.dev0+2177.g8a1d5a06f9 documentation (original) (raw)

Constructor#

Attributes and underlying data#

Axes

Conversion#

Indexing, iteration#

For more information on .at, .iat, .loc, and.iloc, see the indexing documentation.

Binary operator functions#

Function application, GroupBy & window#

Computations / descriptive stats#

Reindexing / selection / label manipulation#

Missing data handling#

Reshaping, sorting, transposing#

Combining / comparing / joining / merging#

Flags#

Flags refer to attributes of the pandas object. Properties of the dataset (like the date is was recorded, the URL it was accessed from, etc.) should be stored in DataFrame.attrs.

Metadata#

DataFrame.attrs is a dictionary for storing global metadata for this DataFrame.

Warning

DataFrame.attrs is considered experimental and may change without warning.

Plotting#

DataFrame.plot is both a callable method and a namespace attribute for specific plotting methods of the form DataFrame.plot.<kind>.

Sparse accessor#

Sparse-dtype specific methods and attributes are provided under theDataFrame.sparse accessor.

Serialization / IO / conversion#