code: def get_epit_revisions(self, mnemonic, period, relh50=False):
          
          if relh50:
              data = self.fetch(mnemonic, 'RELH50', date=period, static=True)
          else:
              data = self.fetch(mnemonic, 'RELH', date=period, static=True)
          data = data.iloc[0]
  
          # Parse the response
          res = {data.loc['RELHD%02d' % i]: data.loc['RELHV%02d' % i]
                 for i in range(1, 51 if relh50 else 21)
                 if data.loc['RELHD%02d' % i] != ''}
          res = pd.Series(res, name=data.loc['RELHP  ']).sort_index()
          return res
docs: Return initial estimate and first revisions of a given economic time
              series and a given period.
              Requires subscription to Thomson Reuters Economic Point-in-Time (EPiT).
  
              "Period" parameter should represent a date which falls within a time
              period of interest, e.g. 2016 Q4 could be requested with the
              period='2016-11-15' for example.
  
              By default up to 20 values is returned unless argument "relh50" is
              set to True (in which case up to 50 values is returned).