pandas get copy to new dataframe with header = 0 code example Example: dataframe copy new_dataframe = dataframe.copy(deep = True)