code: def _load_table(self, resource_name):
          
          tabular_resource = self.__tabular_resources[resource_name]
  
          try:
              # Sorting fields in the same order as they appear in the schema
              # is necessary for tables to be converted into pandas.DataFrame
              fields = []
              if 'schema' in tabular_resource.descriptor:
                  fields = [f['name'] for f in
                            tabular_resource.descriptor['schema']['fields']]
              elif len(tabular_resource.data) > 0:
                  fields = tabular_resource.data[0].keys()
  
              return [order_columns_in_row(fields, row) for row in
                      tabular_resource.data]
          except (SchemaValidationError, ValueError, TypeError) as e:
              warnings.warn(
                  'Unable to set column types automatically using {} schema. '
                  'Data types may need to be adjusted manually. '
                  'Error: {}'.format(resource_name, e))
              self.__invalid_schemas.append(resource_name)
              file_format = tabular_resource.descriptor['format']
              with Stream(io.BytesIO(self.raw_data[resource_name]),
                          format=file_format, headers=1,
                          scheme='stream', encoding='utf-8') as stream:
                  return [OrderedDict(zip(stream.headers, row))
                          for row in stream.iter()]
docs: Build table structure from resource data
  
          :param resource_name: