title: why am I getting a too many indexers error?
body: <pre><code>cars_df = pd.DataFrame((car.iloc[:[1,3,4,6]].values), columns = ['mpg', 'dip', 'hp', 'wt'])
  car_t = car.iloc[:9].values
  target_names = [0,1]
  
  car_df['group'] = pd.series(car_t, dtypre='category')
  sb.pairplot(cars_df)
  </code></pre>
  
  <p>I have tried using .iloc(axis=0)[xxxx] and making a slice into a list and a tuple. no dice. Any thoughts? I am trying to make a scatter plot from a lynda.com video but in the video, the host is using .ix which is deprecated. So I am using .iloc[]</p>
  
  <p>car = a dataframe</p>
  
  <p>a few lines of data</p>
  
  <pre><code>"Car_name","mpg","cyl","disp","hp","drat","wt","qsec","vs","am","gear","carb"
  "Mazda RX4",21,6,160,110,3.9,2.62,16.46,0,1,4,4
  "Mazda RX4 Wag",21,6,160,110,3.9,2.875,17.02,0,1,4,4
  "Datsun 710",22.8,4,108,93,3.85,2.32,18.61,1,1,4,1
  "Hornet 4 Drive",21.4,6,258,110,3.08,3.215,19.44,1,0,3,1
  "Hornet Sportabout",18.7,8,360,175,3.15,3.44,17.02,0,0,3,2
  "Valiant",18.1,6,225,105,2.76,3.46,20.22,1,0,3,1
  "Duster 360",14.3,8,360,245,3.21,3.57,15.84,0,0,3,4
  "Merc 240D",24.4,4,146.7,62,3.69,3.19,20,1,0,4,2
  "Merc 230",22.8,4,140.8,95,3.92,3.15,22.9,1,0,4,2
  "Merc 280",19.2,6,167.6,123,3.92,3.44,18.3,1,0,4,4
  "Merc 280C",17.8,6,167.6,123,3.92,3.44,18.9,1,0,4,4
  "Merc 450SE",16.4,8,275.8,180,3.07,4.07,17.4,0,0,3,3
  </code></pre>