Input/output

Pickling

read_pickle(filepath_or_buffer[, compression])

Load pickled pandas object (or any object) from file.

Flat file

read_table(filepath_or_buffer[, sep, …])

Read general delimited file into DataFrame.

read_csv(filepath_or_buffer[, sep, …])

Read a comma-separated values (csv) file into DataFrame.

read_fwf(filepath_or_buffer[, colspecs, …])

Read a table of fixed-width formatted lines into DataFrame.

Clipboard

read_clipboard([sep])

Read text from clipboard and pass to read_csv.

Excel

read_excel(*args, **kwargs)

Read an Excel file into a pandas DataFrame.

ExcelFile.parse([sheet_name, header, names, …])

Parse specified sheet(s) into a DataFrame.

ExcelWriter(path[, engine])

Class for writing DataFrame objects into excel sheets.

JSON

read_json(*args, **kwargs)

Convert a JSON string to pandas object.

json_normalize(data[, record_path, meta, …])

Normalize semi-structured JSON data into a flat table.

build_table_schema(data[, index, …])

Create a Table schema from data.

HTML

read_html(*args, **kwargs)

Read HTML tables into a list of DataFrame objects.

HDFStore: PyTables (HDF5)

read_hdf(path_or_buf[, key, mode, errors, …])

Read from the store, close it if we opened it.

HDFStore.put(key, value[, format, index, …])

Store object in HDFStore.

HDFStore.append(key, value[, format, axes, …])

Append to Table in file.

HDFStore.get(key)

Retrieve pandas object stored in file.

HDFStore.select(key[, where, start, stop, …])

Retrieve pandas object stored in file, optionally based on where criteria.

HDFStore.info()

Print detailed information on the store.

HDFStore.keys([include])

Return a list of keys corresponding to objects stored in HDFStore.

HDFStore.groups()

Return a list of all the top-level nodes.

HDFStore.walk([where])

Walk the pytables group hierarchy for pandas objects.

Feather

read_feather(path[, columns, use_threads])

Load a feather-format object from the file path.

Parquet

read_parquet(path[, engine, columns])

Load a parquet object from the file path, returning a DataFrame.

ORC

read_orc(path[, columns])

Load an ORC object from the file path, returning a DataFrame.

SAS

read_sas()

Read SAS files stored as either XPORT or SAS7BDAT format files.

SPSS

read_spss(path[, usecols, convert_categoricals])

Load an SPSS file from the file path, returning a DataFrame.

SQL

read_sql_table()

Read SQL database table into a DataFrame.

read_sql_query()

Read SQL query into a DataFrame.

read_sql()

Read SQL query or database table into a DataFrame.

Google BigQuery

read_gbq(query[, project_id, index_col, …])

Load data from Google BigQuery.

STATA

read_stata(filepath_or_buffer[, …])

Read Stata file into DataFrame.

StataReader.data_label

Return data label of Stata file.

StataReader.value_labels()

Return a dict, associating each variable name a dict, associating each value its corresponding label.

StataReader.variable_labels()

Return variable labels as a dict, associating each variable name with corresponding label.

StataWriter.write_file()