Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[warning] Deprecation Warning in Exercise 2 #77

Open
AmirMohamadBabaee opened this issue Jun 4, 2021 · 1 comment
Open

[warning] Deprecation Warning in Exercise 2 #77

AmirMohamadBabaee opened this issue Jun 4, 2021 · 1 comment

Comments

@AmirMohamadBabaee
Copy link

hi guys.
I encountered this warning while checking exercise 2

ml-coursera-python-assignments/Exercise2/utils.py:45: 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.
  return np.array(out)

This warning does not sound dangerous, but I thought it's good to inform you.

@dibgerge
Copy link
Owner

Thank you! Shouldn't be getting this warning, as all arrays used should be matrix-like.

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

No branches or pull requests

2 participants