Created
January 10, 2018 16:56
-
-
Save dipanjanS/62f0476104580ec4dc7c696d46045542 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
subset_attributes = ['residual sugar', 'total sulfur dioxide', 'sulphates', | |
'alcohol', 'volatile acidity', 'quality'] | |
rs = round(red_wine[subset_attributes].describe(),2) | |
ws = round(white_wine[subset_attributes].describe(),2) | |
pd.concat([rs, ws], axis=1, keys=['Red Wine Statistics', 'White Wine Statistics']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment