Created
June 23, 2020 12:44
-
-
Save shinokada/bd3d3d3d0013490bef2c85b925ef2d6f to your computer and use it in GitHub Desktop.
This file contains 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
df=pd.melt(df,id_vars=['race'],var_name='gender', value_name='value') | |
df |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment