API reference#
This page gives an overview of all public pandas objects, functions and
methods. All classes and functions exposed in pandas.*
namespace are public.
The following subpackages are public.
pandas.errors
: Custom exception and warnings classes that are raised by pandas.pandas.plotting
: Plotting public API.pandas.testing
: Functions that are useful for writing tests involving pandas objects.pandas.api.extensions
: Functions and classes for extending pandas objects.pandas.api.indexers
: Functions and classes for rolling window indexers.pandas.api.interchange
: DataFrame interchange protocol.pandas.api.types
: Datatype classes and functions.pandas.api.typing
: Classes that may be necessary for type-hinting. These are classes that are encountered as intermediate results but should not be instantiated directly by users. These classes are not to be confused with classes from the pandas-stubs package which has classes in addition to those that occur in pandas for type-hinting.
In addition, public functions in pandas.io
, pandas.tseries
, pandas.util
submodules
are explicitly mentioned in the documentation. Further APIs in these modules are not guaranteed
to be stable.
Warning
The pandas.core
, pandas.compat
top-level modules are PRIVATE. Stable functionality in such modules is not guaranteed.
- Input/output
- General functions
- Series
- Constructor
- Attributes
- Conversion
- Indexing, iteration
- Binary operator functions
- Function application, GroupBy & window
- Computations / descriptive stats
- Reindexing / selection / label manipulation
- Missing data handling
- Reshaping, sorting
- Combining / comparing / joining / merging
- Time Series-related
- Accessors
- Plotting
- Serialization / IO / conversion
- DataFrame
- Constructor
- Attributes and underlying data
- Conversion
- Indexing, iteration
- Binary operator functions
- Function application, GroupBy & window
- Computations / descriptive stats
- Reindexing / selection / label manipulation
- Missing data handling
- Reshaping, sorting, transposing
- Combining / comparing / joining / merging
- Time Series-related
- Flags
- Metadata
- Plotting
- Sparse accessor
- Serialization / IO / conversion
- pandas arrays, scalars, and data types
- Index objects
- Date offsets
- DateOffset
- BusinessDay
- BusinessHour
- CustomBusinessDay
- CustomBusinessHour
- MonthEnd
- MonthBegin
- BusinessMonthEnd
- BusinessMonthBegin
- CustomBusinessMonthEnd
- CustomBusinessMonthBegin
- SemiMonthEnd
- SemiMonthBegin
- Week
- WeekOfMonth
- LastWeekOfMonth
- BQuarterEnd
- BQuarterBegin
- QuarterEnd
- QuarterBegin
- BYearEnd
- BYearBegin
- YearEnd
- YearBegin
- FY5253
- FY5253Quarter
- Easter
- Tick
- Day
- Hour
- Minute
- Second
- Milli
- Micro
- Nano
- Frequencies
- Window
- GroupBy
- Resampling
- Style
- Plotting
- pandas.plotting.andrews_curves
- pandas.plotting.autocorrelation_plot
- pandas.plotting.bootstrap_plot
- pandas.plotting.boxplot
- pandas.plotting.deregister_matplotlib_converters
- pandas.plotting.lag_plot
- pandas.plotting.parallel_coordinates
- pandas.plotting.plot_params
- pandas.plotting.radviz
- pandas.plotting.register_matplotlib_converters
- pandas.plotting.scatter_matrix
- pandas.plotting.table
- Options and settings
- Extensions
- pandas.api.extensions.register_extension_dtype
- pandas.api.extensions.register_dataframe_accessor
- pandas.api.extensions.register_series_accessor
- pandas.api.extensions.register_index_accessor
- pandas.api.extensions.ExtensionDtype
- pandas.api.extensions.ExtensionArray
- pandas.arrays.NumpyExtensionArray
- pandas.api.indexers.check_array_indexer
- Testing
- Missing values