In pandas, reindexing is the process of altering the order of rows or columns in a dataframe. It can be done by specifying a new index or column labels.