altering invalid arguments

This commit is contained in:
michael-corey 2026-04-18 13:41:54 -05:00
parent f101eacffd
commit f1e99d887d

View File

@ -51,7 +51,7 @@ def _download_from_s3(bucket: str, key: str, local_path: str) -> None:
def _read_sas_head(path: str, row_count: int = 10) -> pd.DataFrame:
"""Read the first *row_count* rows of a .sas7bdat file."""
df, _ = pyreadstat.read_sas7bdat(path, encoding="latin-1", row_count=row_count)
df, _ = pyreadstat.read_sas7bdat(path, row_offset=0, row_limit=row_count)
return df