chemcoord.Cartesian.set_index

Cartesian.set_index(keys, drop=True, append=False, inplace=False, verify_integrity=False)

Set the DataFrame index (row labels) using one or more existing columns.

Wrapper around the pandas.DataFrame.set_index() method.