<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_index(index_name, *partition_indices):
 # pragma: no cover """Get the index from the indices returned by the workers. Note: Ray functions are not detected by codecov (thus pragma: no cover)"""

    index = partition_indices[0].append(partition_indices[1:])
    index.names = index_name
    return index