Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

module 'numpy' has no attribute 'hstacK'

I was doing some onehotencoding and when I tried to merge the arrays with np.hstack, I got this errorenter image description here. As of my knowledge hstack has not been depreceated nor they are planning to do so. Also everything is correct with the code(in my opinion), cause it ran just few hours back perfectly.
Is there any other way to do so ?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

You have accidentally capitalised the K in np.hstacK. Use np.hstack instead.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading