Skip to content

Instantly share code, notes, and snippets.

@KevinGutowski
Created January 7, 2022 21:17
Show Gist options
  • Select an option

  • Save KevinGutowski/e8a3059a30cfc38dbc7b959d5bdbdc09 to your computer and use it in GitHub Desktop.

Select an option

Save KevinGutowski/e8a3059a30cfc38dbc7b959d5bdbdc09 to your computer and use it in GitHub Desktop.

Revisions

  1. KevinGutowski created this gist Jan 7, 2022.
    2 changes: 2 additions & 0 deletions reorder.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    columns = list(df.columns)
    df = df[[columns[i] for i in [3,2,1,4,6,4,8]]