hstack and vstack | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

hstack and vstack

I need help to get my head around why hstack ("horizontal") stacks by column and vstack ("vertical") stacks by row. It seems reversed: aren't columns vertical and rows horizontal? What's the logic of this apparent transposing?

12th Oct 2020, 6:25 AM
Nassim Abed
Nassim Abed - avatar
1 Answer
0
Never mind: I drew it and it became clear :)
12th Oct 2020, 6:40 AM
Nassim Abed
Nassim Abed - avatar