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

[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.

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

2 participants