Skip to content
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

"creating an ndarray from ragged nested sequences is deprecated" #33

Open
yaohuiding1 opened this issue Feb 16, 2022 · 0 comments
Open

Comments

@yaohuiding1
Copy link

Hi Matt,
I got the following error message whiling the example code. I am using Python 3.8.10. I am wondering if there's a quick fix to this issue without going back to the previous version of Python.

"/home/yd169/.local/lib/python3.8/site-packages/pybasicbayes/distributions/regression.py:85: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray."

Thanks,
Ding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant