Open damccorm opened 2 years ago
Currently our implementation of set_index only supports columns labels, but the actual implementation also allows passing Index or Series instances.
df.set_index([df.index, df.foo, df['baz']])
Imported from Jira BEAM-11711. Original Jira may contain additional context. Reported by: bhulette.
@damccorm I'm trying to add the functionality here: https://github.com/apache/beam/pull/26157
Currently our implementation of set_index only supports columns labels, but the actual implementation also allows passing Index or Series instances.
df.set_index([df.index, df.foo, df['baz']])
Imported from Jira BEAM-11711. Original Jira may contain additional context. Reported by: bhulette.