API 参考手册
本页面概述了所有公共的Pandas对象、功能和。
方法。pandas.*
命名空间中公开的所有类和函数都是公共的。
有些子模块是公开的,其中包括pandas.error
、pandas.plotting
和pandas.testing
。pandas.io
和pandas.tseries
系列子模块中的公共函数在文档中有所提及。pandas.api.types
子模块含一些与pandas中的数据类型相关的公共函数。
::: danger 警告
pandas.core
、pandas.compat
和pandas.util
顶级模块是PRIVATE(私有的)。此类模块的功能稳定性无法保证。
:::
- Input/output
- Pickling
- Flat file
- Clipboard
- Excel
- JSON
- HTML
- HDFStore: PyTables (HDF5)
- Feather
- Parquet
- SAS
- SQL
- Google BigQuery
- STATA
- General functions
- Data manipulations
- Top-level missing data
- Top-level conversions
- Top-level dealing with datetimelike
- Top-level dealing with intervals
- Top-level evaluation
- Hashing
- Testing
- 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 / joining / merging
- Time series-related
- Accessors
- Plotting
- Serialization / IO / conversion
- Sparse
- 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 / joining / merging
- Time series-related
- Plotting
- Sparse accessor
- Serialization / IO / conversion
- Sparse
- Pandas arrays
- pandas.array
- Datetime data
- Timedelta data
- Timespan data
- Period
- Interval data
- Nullable integer
- Categorical data
- Sparse data
- Panel
- Index objects
- Index
- Numeric Index
- CategoricalIndex
- IntervalIndex
- MultiIndex
- DatetimeIndex
- TimedeltaIndex
- PeriodIndex
- Date offsets
- DateOffset
- BusinessDay
- BusinessHour
- CustomBusinessDay
- CustomBusinessHour
- MonthOffset
- MonthEnd
- MonthBegin
- BusinessMonthEnd
- BusinessMonthBegin
- CustomBusinessMonthEnd
- CustomBusinessMonthBegin
- SemiMonthOffset
- SemiMonthEnd
- SemiMonthBegin
- Week
- WeekOfMonth
- LastWeekOfMonth
- QuarterOffset
- BQuarterEnd
- BQuarterBegin
- QuarterEnd
- QuarterBegin
- YearOffset
- BYearEnd
- BYearBegin
- YearEnd
- YearBegin
- FY5253
- FY5253Quarter
- Easter
- Tick
- Day
- Hour
- Minute
- Second
- Milli
- Micro
- Nano
- BDay
- BMonthEnd
- BMonthBegin
- CBMonthEnd
- CBMonthBegin
- CDay
- Frequencies
- pandas.tseries.frequencies.to_offset
- Window
- Standard moving window functions
- Standard expanding window functions
- Exponentially-weighted moving window functions
- GroupBy
- Indexing, iteration
- Function application
- Computations / descriptive stats
- Resampling
- Indexing, iteration
- Function application
- Upsampling
- Computations / descriptive stats
- Style
- Styler constructor
- Styler properties
- Style application
- Builtin styles
- Style export and import
- Plotting
- pandas.plotting.andrews_curves
- pandas.plotting.bootstrap_plot
- pandas.plotting.deregister_matplotlib_converters
- pandas.plotting.lag_plot
- pandas.plotting.parallel_coordinates
- pandas.plotting.radviz
- pandas.plotting.register_matplotlib_converters
- pandas.plotting.scatter_matrix
- General utility functions
- Working with options
- Testing functions
- Exceptions and warnings
- Data types related functionality
- 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.PandasArray