Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. # Display a Seaborn Boxplot to show the relationship between a numeric variable and a categorical variable
  2.  
  3. # DataFrame : priceCatData
  4. # 'SalePrice' : Numeric Variable
  5. # 'Neighborhood' : Categorical Variable
  6.  
  7. f,axes = plt.subplots(1,1,figsize = (20,8))
  8. sb.boxplot(x= 'Neighborhood', y= 'SalePrice', data = priceCatData)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement