Libraries, speed & errors

pandas

Everything on the site that runs through a pandas DataFrame.

The pandas round trip: read_excel loads a sheet into a DataFrame, the DataFrame is cleaned and summarised, and to_excel writes the result.The pandas round trip: read_excel loads a sheet into a DataFrame, the DataFrame is cleaned and summarised, and to_excel writes the result.read_excel in, to_excel outread_excelsheet_name · headerdtype · usecolsDataFrameclean · mergepivot · groupbyto_excelExcelWriterindex=False

Start with the full guides

The long-form treatment of pandas, with the reasoning the shorter pages assume.

Step-by-step how-tos

One task each, with code you can copy, run and adapt.

Compare the options

Which tool or approach to pick, and why.

When it breaks

The errors this topic produces, with the cause explained rather than just the fix.

Follow it through a track

Prefer an ordered route? These tracks cover pandas along the way, in the order that builds on itself.

Related topics

Subjects that keep turning up on the same pages as this one, most overlap first.

pandas is part of Libraries, speed & errors.