-
Notifications
You must be signed in to change notification settings - Fork 50
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
pandas 1.0.3 incompatibility #133
Comments
@antipisa please do not delete questionaries when opening issues. Future issues with removed questionaries will be closed immediately as invalid. |
Internal issue 1069. |
Has this been resolved? |
No, but accepting pull requests. |
Stale issue message |
Stale issue message |
@sashkab I see this had been labelled an internal issue, has there been any progress on this? There have been a number of users on internal channels asking about this |
@cmccarthy1 no updates. |
If possible can this be prioritised for any future updates. It's a blocking issue for the user that has been requesting the change |
This is also causing issues for my team - has there been an update on this? I thought PyQ was supposed to be supported by Kx rather than relying on external PRs? |
Pandas thinks all non-atom K objects are dicts, which leads to issues like KxSystems#133. This commit provides a hacky solution to this problem by overwriting the `__code__` attribute of the function Pandas uses for checking if an object is dict-like. Patching the function through safer means (e.g. with `unittest.mock`) won't work well because the function is imported all over Pandas, and we would have to patch all of them. Fixes KxSystems#133
Questions
Which operating system are you using (if Linux, please provide flavour of it, i.e RedHat, CentOS or Ubuntu), is it 32-bit, or 64-bit?
Which version of PyQ are you running? Please provide output of
pyq --versions
, if PyQ isn't operational, please provide Python interpreter version and PyQ versionpython -V; python3 -V; pip list | grep pyq
:Which version of kdb+ are you using, is it 32-bit or 64-bit?
If on 64-bit, is your
QLIC
set? Please provide outputenv | grep QLIC
on linux/macOS, orset|grep QLIC
on Windows.Did you use virtual environment to install PyQ? If not, why?
Where is your
QHOME
? Please provide outputenv | grep QHOME
on linux/macOS, orset|grep QHOME
on Windows.Do you use Conda? If so, what version?
Lists cannot be cast to pandas series in version > 1.0.
Versions:
PyQ 4.2.1
Pandas 1.0.3
Numpy 1.17.4
Both yield
AttributeError: items
The text was updated successfully, but these errors were encountered: