Question: python language (pls answer by screen shot of codes , no handwritten pls) how to combine two different arrays in python and then convert it

python language (pls answer by screen shot of codes , no handwritten pls)

how to combine two different arrays in python and then convert it to tuple?

for example, given that

return a is (array([1000])

return type(a) is

return b is (array([2000])

return type(b) is

Question. how to get the tuple of (1000, 2000) from np.array(a) and np.array(b) above?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!