Created
          March 16, 2020 18:52 
        
      - 
      
 - 
        
Save aniruddha27/d830859f2ed6f23dd963884dee565b76 to your computer and use it in GitHub Desktop.  
  
    
      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
    
  
  
    
  | #columns | |
| table = pd.pivot_table(df,index=['Sex'],columns=['Pclass'],values=['Survived'],aggfunc=np.sum) | |
| table | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment