I am importing a huge sas dataset of about 7 GB in Anaconda Spyder (Python 3.5) using pandas.read_sas. The code is something like as below:
import pandas as pd
hugedata = pd.read_sas('K:/HugeData.sas7bdat')
but I received the following error:
Traceback (most recent call last):
File "<ipython-input-46-31acb10b0e92>", line 1, in <module>
hugedata = pd.read_sas('K:/ERA/Credit Risk Estimates/PRAM/NW_RM_SUB_FCLY_M_HIST.sas7bdat')
File "C:\Users\l086276\AppData\Local\Continuum\Anaconda3\lib\site-packages\pandas\io\sas\sasreader.py", line 61, in read_sas
return reader.read()
File "C:\Users\l086276\AppData\Local\Continuum\Anaconda3\lib\site-packages\pandas\io\sas\sas7bdat.py", line 579, in read
nd = (self.column_types == b'd').sum()
AttributeError: 'bool' object has no attribute 'sum'
Just wondering why internal call to sas7bdat.py function is generating error on importing this dataset while its working absolutely fine with other sas datasets. What could go wrong with this dataset. Need help please.