Closed abhi-84 closed 3 years ago
Hello @abhi-84 ,
This exception was raised because method DataFrame.drop
is slightly different in use in Pandas and SDC due to a limitation on parameter columns
. Pandas requires parameter columns
to be a list, but SDC requires a tuple (DataFrame.drop limitations).
So if you replace tuple of columns
df_prices_intc = df_prices_intc.drop(columns=('symbol', 'volume'))
with a list of columns
df_prices_intc = df_prices_intc.drop(columns=['symbol', 'volume'])
in case of removed decorator njit
, the issue will disappear.
Hi In nysc_predict.py example, when I remove @njit(parallel=True), it throws error. Why? How can I use SDC for any Machine learning examples? Please find the error it generates.
KeyError Traceback (most recent call last)