pandas append values as indexes code example Example: pandas index append value # ix is Index datatype ix.union(['added_index'])