title: How to make Scatterplot using Tuples
body: <p>Having issues with my code below. Trying to create a scatterplot from tuples:</p>
  <pre><code>#Convert CSV file to dictionary to store data
  reader = csv.reader(open('winemag-data-130k-v2.csv'))
  number = {}
  for row in reader:
      key = row[0]
      number[key] = row[1:]
  
  #Convert dictionary data to tuples
  t = list(number.items())
  
  #Make scatter plot from tuples
  # create a figure and axis
  fig, ax = plt.subplots()
  
  # scatter the points against the price
  ax.scatter(t['[points]'], t['price'])
  # set a title and labels
  ax.set_title('Wines')
  ax.set_xlabel('points')
  ax.set_ylabel('price')
  </code></pre>
  <p>I keep on getting &quot;TypeError: list indices must be integers or slices, not str&quot; in the  ax.scatter line.</p>
  <p>t looks like this when you print it:
  ...
  ('6257',
  ['US',
  'Toasty oak and black pepper hit first on the palate and nose, followed by '
  'savory, dry tannin, black cherry and vanilla. Restrained and in balance, '
  'the Cabernet is supported by 12% Petit Verdot, which adds girth and '
  'intensity without becoming extreme.',
  '',
  '90',
  '60.0',
  'California',
  'Mount Veeder',
  'Napa',
  'Virginie Boone',
  '@vboone',
  'Renteria 2012 Cabernet Sauvignon (Mount Veeder)',
  'Cabernet Sauvignon',
  'Renteria']),
  ...</p>
  <p>I'm trying to access that '90' and the '60.0'. Any ideas?</p>