Created
April 24, 2017 08:53
-
-
Save VioletVivirand/2ec6537dc0f55616e1f02b51440ea614 to your computer and use it in GitHub Desktop.
Transformation of DataFrame
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pd.DataFrame(list(zip(df.columns.tolist(),df.iloc[0,:].values.tolist())), columns=["node", "value"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment