Compatible or not?
Before concatenating, it's important to check whether two arrays can be concatenated together. If not, the array may need to be reshaped before concatenation.
This exercise is part of the course
Introduction to NumPy
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
