I have data like below.
[ 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18.
19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34.] <br>
(34,)
But I want to make this (1,34).
When I use np.reshape like
np.reshape(data, (1,34))
I get data like below.
[[ 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18.
19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34.]]
(1, 34)
But it looks weird for me. Could you recommend a solution?
%np.transpose does not change anything.