Overview of pandas I/O tools
mainThe pandas I/O API consists of two main components:
- Readers: Top-level functions in the
pandasnamespace (e.g.,pandas.read_csv) that load data from various formats into pandas objects likeDataFrameorSeries. - Writers: Methods attached to pandas objects (e.g.,
DataFrame.to_csv) used to save data to specific file formats.
Commonly supported formats include text-based formats (CSV, JSON, HTML, XML, Fixed-Width Text) and binary formats (Excel, HDF5, Feather, Parquet, Pickle, SQL).