code: def load_industries():
      
  
      n = [5, 10, 12, 17, 30, 38, 48]
      port = ("%s_Industry_Portfolios" % i for i in n)
      rets = []
      for p in port:
          ret = pdr.get_data_famafrench(p, start=DSTART)[0]
          rets.append(ret.to_timestamp(how="end", copy=False))
      industries = dict(zip(n, rets))
      return industries
docs: Load industry portfolio returns from Ken French's website.
  
      Returns
      -------
      industries : dictionary of Pandas DataFrames
          Each key is a portfolio group.
  
      Example
      -------
      >>> from pyfinance import datasets
      >>> ind = datasets.load_industries()
  
      # Monthly returns to 5 industry portfolios
      >>> ind[5].head()
                  Cnsmr  Manuf  HiTec  Hlth   Other
      Date
      1950-01-31   1.26   1.47   3.21   1.06   3.19
      1950-02-28   1.91   1.29   2.06   1.92   1.02
      1950-03-31   0.28   1.93   3.46  -2.90  -0.68
      1950-04-30   3.22   5.21   3.58   5.52   1.50
      1950-05-31   3.81   6.18   1.07   3.96   1.36