Is there a quick way to “sub-flatten” or flatten only some of the first dimensions in a numpy array?

For example, given a numpy array of dimensions (50,100,25), the resultant dimensions would be (5000,25)

5 Answers
5

Leave a Reply

Your email address will not be published. Required fields are marked *