class_docstr: Container class for stock datasets.
  
  Arguments:
      filename (str/list): name of the file to download
      url (str): url for dataset
      size (int/list): file size
      path (str): local path to place files
      subset_pct (float/int): percentage of data set to use for training
class_docstr_tok: ["Container","class","for","stock","datasets",".","Arguments",":","filename","(","str\/list",")",":","name","of","the","file","to","download","url","(","str",")",":","url","for","dataset","size","(","int\/list",")",":","file","size","path","(","str",")",":","local","path","to","place","files","subset_pct","(","float\/int",")",":","percentage","of","data","set","to","use","for","training"]
docstr: Helper method to get the data iterator for specified dataset
  
  Arguments:
      setname (str): which iterator to return (e.g. 'train', 'valid')
docstr_tok: ["Helper","method","to","get","the","data","iterator","for","specified","dataset","Arguments",":","setname","(","str",")",":","which","iterator","to","return","(","e.g",".","'train","'",",","'valid","'",")"]
code: def get_iterator(self, setname):
      """
      Helper method to get the data iterator for specified dataset
  
      Arguments:
          setname (str): which iterator to return (e.g. 'train', 'valid')
      """
      assert setname in self.data_dict, (
          "no iterator for set %s" % setname
      )
      return self.data_dict[setname]
  
imports: from __future__ import division
  from future import standard_library
  from future.moves.urllib.request import Request, urlopen
  import logging
  import os
  import sys
  import zipfile
  from neon import NervanaObject, logger
  from neon.util.compat import PY3
label_desc: Use image node_id 8 for calling the Dataset obj's underlying member method code with example usage: obj.get_iterator(setname) and returns: self