-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IO/SAS (sas7bdat) deleted observations are not filtered out #15963
Comments
very odd that SAS actually keeps deleted things. is this a 'feature'? |
I think, here's the answer: |
ok, so I guess we should check if they are actually deleted then. PR welcome. It is very strange to do this, but that's SAS for you..... |
Another related bug.
|
Sas7bdat may contain rows which are actually deleted. If the page_type has bit 128 set, there is a bitmap following the normal row data with a bit set for a given row if it has been deleted. Use that information to not include deleted rows in the resulting dataframe.
Sas7bdat may contain rows which are actually deleted. If the page_type has bit 128 set, there is a bitmap following the normal row data with a bit set for a given row if it has been deleted. Use that information to not include deleted rows in the resulting dataframe.
Sas7bdat may contain rows which are actually deleted. If the page_type has bit 128 set, there is a bitmap following the normal row data with a bit set for a given row if it has been deleted. Use that information to not include deleted rows in the resulting dataframe.
Sas7bdat may contain rows which are actually deleted. If the page_type has bit 128 set, there is a bitmap following the normal row data with a bit set for a given row if it has been deleted. Use that information to not include deleted rows in the resulting dataframe.
Sas7bdat may contain rows which are actually deleted. If the page_type has bit 128 set, there is a bitmap following the normal row data with a bit set for a given row if it has been deleted. Use that information to not include deleted rows in the resulting dataframe.
Sas7bdat may contain rows which are actually deleted. If the page_type has bit 128 set, there is a bitmap following the normal row data with a bit set for a given row if it has been deleted. Use that information to not include deleted rows in the resulting dataframe.
Sas7bdat may contain rows which are actually deleted. If the page_type has bit 128 set, there is a bitmap following the normal row data with a bit set for a given row if it has been deleted. Use that information to not include deleted rows in the resulting dataframe.
Sas7bdat may contain rows which are actually deleted. If the page_type has bit 128 set, there is a bitmap following the normal row data with a bit set for a given row if it has been deleted. Use that information to not include deleted rows in the resulting dataframe.
Sas7bdat may contain rows which are actually deleted. If the page_type has bit 128 set, there is a bitmap following the normal row data with a bit set for a given row if it has been deleted. Use that information to not include deleted rows in the resulting dataframe.
Problem description
I filled a table, then deleted two observations (rows).
datetime.sas7bdat
Pandas reads 5 rows with
read_sas
:Expected Output
DataFrame with 3 rows instead of 5 rows (w/o index no.2 and no.4)
Output of
pd.show_versions()
last commit is cd24fa9 (ENH: add origin to to_datetime)
pandas: 0+unknown
pytest: 3.0.6
pip: 9.0.1
setuptools: 34.3.2
Cython: 0.25.2
numpy: 1.11.3
scipy: 0.19.0
xarray: 0.9.1
IPython: 5.3.0
sphinx: 1.5.2
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: 1.5.0
bottleneck: 1.2.0
tables: 3.3.0
numexpr: 2.6.2
feather: None
matplotlib: 2.0.0
openpyxl: None
xlrd: 1.0.0
xlwt: None
xlsxwriter: 0.9.5
lxml: 3.7.3
bs4: 4.5.3
html5lib: 1.0b10
sqlalchemy: 1.1.6
pymysql: None
psycopg2: None
jinja2: 2.9.5
s3fs: 0.0.9
pandas_gbq: None
pandas_datareader: None
The text was updated successfully, but these errors were encountered: