original_docstring: Returns a list of statistics for each row group in all parquet files in
      'hdfs_path'. 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 all parquet files in
  'hdfs_path'. 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 all parquet files in ' hdfs_path ' . The result is a two - dimensional list containing stats by row group and column .
code: def _get_row_group_stats_from_hdfs_folder(self, hdfs_path):
      """Returns a list of statistics for each row group in all parquet files in
      'hdfs_path'. The result is a two-dimensional list, containing stats by row group and
      column."""
      row_group_stats = []
  
      try:
        tmp_dir = make_tmp_dir()
        check_call(['hdfs', 'dfs', '-get', hdfs_path, tmp_dir])
  
        for root, subdirs, files in os.walk(tmp_dir):
          for f in files:
            parquet_file = os.path.join(root, str(f))
            row_group_stats.extend(self._get_row_group_stats_from_file(parquet_file))
  
      finally:
        rmtree(tmp_dir)
  
      return row_group_stats
code_tokens: def _get_row_group_stats_from_hdfs_folder ( self , hdfs_path ) : row_group_stats = [ ] try : tmp_dir = make_tmp_dir ( ) check_call ( [ 'hdfs' , 'dfs' , '-get' , hdfs_path , tmp_dir ] ) for root , subdirs , files in os . walk ( tmp_dir ) : for f in files : parquet_file = os . path . join ( root , str ( f ) ) row_group_stats . extend ( self . _get_row_group_stats_from_file ( parquet_file ) ) finally : rmtree ( tmp_dir ) return row_group_stats
short_docstring: Returns a list of statistics for each row group in all parquet files in
  'hdfs_path'.
short_docstring_tokens: Returns a list of statistics for each row group in all parquet files in ' hdfs_path ' .
comment: """Returns a list of statistics for each row group in all parquet files in
      'hdfs_path'. The result is a two-dimensional list, containing stats by row group and
      column."""