def _read_page_header(file_obj):
 tin = TFileTransport(file_obj)
 pin = TCompactProtocolFactory().get_protocol(tin)
 page_header = parquet_thrift.PageHeader()
 page_header.read(pin)
 return page_header

def _read_page_header ( file_obj ) : tin = TFileTransport ( file_obj ) pin = TCompactProtocolFactory ( ) . get_protocol ( tin ) page_header = parquet_thrift . PageHeader ( ) page_header . read ( pin ) return page_header
read the page_header from the given fo .