original_docstring: Returns a list of statistics for each row group in file 'parquet_file'. The result
      is a two-dimensional list, containing stats by row group and column.
docstring: Returns a list of statistics for each row group in file 'parquet_file'. The result
  is a two-dimensional list, containing stats by row group and column.
docstring_tokens: Returns a list of statistics for each row group in file ' parquet_file ' . The result is a two - dimensional list containing stats by row group and column .
code: def _get_row_group_stats_from_file(self, parquet_file):
      """Returns a list of statistics for each row group in file 'parquet_file'. The result
      is a two-dimensional list, containing stats by row group and column."""
      file_meta_data = get_parquet_metadata(parquet_file)
      # We only support flat schemas, the additional element is the root element.
      schemas = file_meta_data.schema[1:]
      file_stats = []
      for row_group in file_meta_data.row_groups:
        num_columns = len(row_group.columns)
        assert num_columns == len(schemas)
        column_stats = [c.meta_data.statistics for c in row_group.columns]
        file_stats.append(self._decode_row_group_stats(schemas, column_stats))
  
      return file_stats
code_tokens: def _get_row_group_stats_from_file ( self , parquet_file ) : file_meta_data = get_parquet_metadata ( parquet_file ) schemas = file_meta_data . schema [ 1 : ] file_stats = [ ] for row_group in file_meta_data . row_groups : num_columns = len ( row_group . columns ) assert num_columns == len ( schemas ) column_stats = [ c . meta_data . statistics for c in row_group . columns ] file_stats . append ( self . _decode_row_group_stats ( schemas , column_stats ) ) return file_stats
short_docstring: Returns a list of statistics for each row group in file 'parquet_file'.
short_docstring_tokens: Returns a list of statistics for each row group in file ' parquet_file ' .
comment: """Returns a list of statistics for each row group in file 'parquet_file'. The result
      is a two-dimensional list, containing stats by row group and column."""$SEP$# We only support flat schemas, the additional element is the root element.