code: def pubdev_8239():
      df = h2o.import_file(
          "http://h2o-public-test-data.s3.amazonaws.com/smalldata/parser/parquet/as_df_err.parquet",
          header=1,
      )
  
      testStr = "~{fy?$ZWN"
      # check that content doesn't become corrupted when downloading line 561:
      # this was ok
      assert testStr in df.head(rows=560).get_frame_data()
      # here it become broken in failing case
      assert testStr in df.head(rows=561).get_frame_data()
      assert testStr in df.get_frame_data()
      df3 = df.as_data_frame(use_pandas=False, header=False)
      assert testStr in df3[2][0]
      assert len(df3) == df.nrow
      assert len(df3[0]) == df.ncol
      rndIndex = random.randint(0, df.nrow - 1)
      assert df3[rndIndex][0] == df[rndIndex, 0]
  
      # check that in py2 this is not failing on pandas.errors.ParserError: Error tokenizing data. C error: ...
      print(df.as_data_frame())
  
imports: import sys
  import h2o
  import random
  from tests import pyunit_utils
label_desc: Use image node_id 1 for calling a global function with example usage: pubdev_8239() without return types