File tree 3 files changed +5
-1
lines changed
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 813
813
- Bug in :func: `read_excel ` when reading a ``.ods `` file with newlines between xml elements (:issue: `45598 `)
814
814
- Bug in :func: `read_parquet ` when ``engine="fastparquet" `` where the file was not closed on error (:issue: `46555 `)
815
815
- :meth: `to_html ` now excludes the ``border `` attribute from ``<table> `` elements when ``border `` keyword is set to ``False ``.
816
+ - Bug in :func: `read_sas ` with certain types of compressed SAS7BDAT files (:issue: `35545 `)
816
817
-
817
818
818
819
Period
Original file line number Diff line number Diff line change @@ -424,7 +424,9 @@ def _process_page_meta(self) -> bool:
424
424
def _read_page_header (self ):
425
425
bit_offset = self ._page_bit_offset
426
426
tx = const .page_type_offset + bit_offset
427
- self ._current_page_type = self ._read_int (tx , const .page_type_length )
427
+ self ._current_page_type = (
428
+ self .read_int (tx , const .page_type_length ) & const .page_type_mask
429
+ )
428
430
tx = const .block_count_offset + bit_offset
429
431
self ._current_page_block_count = self ._read_int (tx , const .block_count_length )
430
432
tx = const .subheader_count_offset + bit_offset
Original file line number Diff line number Diff line change 53
53
block_count_length = 2
54
54
subheader_count_offset = 4
55
55
subheader_count_length = 2
56
+ page_type_mask = 3840
56
57
page_meta_type = 0
57
58
page_data_type = 256
58
59
page_amd_type = 1024
You can’t perform that action at this time.
0 commit comments