Guest User

Untitled

a guest
Mar 24th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. automobiles.boxplot(figsize=(20,20))
  2.  
  3. columns = list(automobiles.columns.values)
  4. print(columns)
  5. for c in columns :
  6. automobiles.boxplot(column=c, figsize=(5,5))
  7.  
  8. ['symboling', 'normalized-losses', 'make', 'fuel-type', 'aspiration', 'num-of-doors', 'body-style', 'drive-wheels', 'engine-location', 'wheel-base', 'length', 'width', 'height', 'curb-weight', 'engine-type', 'num-of-cylinders', 'engine-size', 'fuel-system', 'bore', 'stroke', 'compression-ratio', 'horsepower', 'peak-rpm', 'city-mpg', 'highway-mpg', 'price']
  9.  
  10. KeyError: "['normalized-losses'] not in index"
Add Comment
Please, Sign In to add comment