Trying the following code in jupyter notebook (pip install pandas - pip install pyarrow > are installed)
import pandas as pd
parquet_file = r'C:\Users\Future\Desktop\userdata1.parquet'
df = pd.read_parquet(parquet_file, engine='auto')
print(df.head())
When trying the code in jupyter notebook, the kernel appears to have died. I restarted the kernel and tried again but the same error.
I even tried to put the code in .py
file and run the code from the terminal but I didn't get any output.
the engine is auto
and i tried too pyarrow
engine ..
- The link the parquet_file https://github.com/Teradata/kylo/blob/master/samples/sample-data/parquet/userdata1.parquet
** I have installed python 3.8.6 and pandas 1.1.4 and pyarrow 2.0.0 and when trying to run the code I encountered the following error
** On entry to DGEBAL parameter number 3 had an illegal value
** On entry to DGEHRD parameter number 2 had an illegal value
** On entry to DORGHR DORGQR parameter number 2 had an illegal value
** On entry to DHSEQR parameter number 4 had an illegal value
Traceback (most recent call last):
File "demo.py", line 1, in <module>
import pandas as pd
File "C:\Users\Future\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\__init__.py", line 11, in <module>
__import__(dependency)
File "C:\Users\Future\AppData\Local\Programs\Python\Python38\lib\site-packages\numpy\__init__.py", line 305, in <module>
_win_os_check()
File "C:\Users\Future\AppData\Local\Programs\Python\Python38\lib\site-packages\numpy\__init__.py", line 302, in _win_os_check
raise RuntimeError(msg.format(__file__)) from None
RuntimeError: The current Numpy installation ('C:\\Users\\Future\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\numpy\\__init__.py') fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https:// tiny url.com/y3dm3h86