Skip to content

Skip deleted observations in SAS7BDAT files #284

@peiyaoli2

Description

@peiyaoli2

Hi, it seems like ReadStat also has a similar issue as pandas-dev/pandas#15963, where deleted observations are still being counted in rows & being read. Here is a sample output from ReadStat on the same file as the other issue:

readstat /Users/peiyao.li/Downloads/datetime.sas7bdat
Format: SAS data file (SAS7BDAT)
Columns: 5
Rows: 5
Table name: DATETIME
Format version: 8
Text encoding: WINDOWS-1252
Byte order: little-endian
Timestamp: 08 Apr 2017 09:51

And the screenshot from the other thread is shown that there are 3 rows and 2 deleted observations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions