docs: def graphdata(data):
      """returns ratings and episode number
      to be used for making graphs"""
      data = jh.get_ratings(data)
      num = 1
      rating_final = []
      episode_final = []
      for k,v in data.iteritems():
          rating=[]
          epinum=[]
          for r in v:
              if r != None:
                  rating.append(float(r))
                  epinum.append(num)
                  num+=1
          rating_final.append(rating)
          episode_final.append(epinum)
      return rating_final,episode_final