KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am working in Python and I have a NumPy array like this: [1,5,9] [2,7,3] [8,4,6] How do I stretch it to something like the following? [1,1,5,5,9,9] [1,1,5,5,9,9] [2,2,7,7,3,3] [2,2,7,7,3,3] [8,8,4,4,6,6] [8,8,4,4,6,6] These are just some example arrays, I will actually be resizing several sizes of arrays, not just these. I'm new at this, and I just can't seem to wrap my head around what I need to do.
Tags (comma-separated)
Save Edits
Cancel