Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-11711

set_index should accept Series and Index instances

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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']])

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            bhulette Brian Hulette

            Dates

              Created:
              Updated:

              Issue deployment