[Tutor] [Python2.7] Convert (2,188,1) into (188,1)

Ashfaq quazi.ashfaq at gmail.com
Tue Jul 4 01:58:42 EDT 2017


Is it a 3-item tuple?

On Wed, Jun 28, 2017 at 9:48 PM, Allan Tanaka via Tutor <tutor at python.org>
wrote:

> Hi. I have array shape like: (2,188,1). I want to make it like this:
> (188,1). I try that using .reshape(188,1) but throws an error: total size
> of an array must be unchanged
> Thank you for the help!
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list