Combining numpy arrays

0 votes
Is there a way to modify and combine numpy arrays? Or perhaps extend a numpy array like lists are in python?
Jul 3, 2018 in Python by nightshade
• 870 points
145 views

1 answer to this question.

0 votes
There is concatenation function for numpy arrays too. Take a look - https://docs.scipy.org/doc/numpy/reference/generated/numpy.concatenate.html
answered Jul 3, 2018 by Hamartia's Mask
• 1,580 points

Related Questions In Python

0 votes
1 answer

Numpy: Multiplying large arrays with dtype=int8 is SLOW

Unfortunately, the "engine" behind the scenes is BLAS, ...READ MORE

answered May 9, 2018 in Python by charlie_brown
• 7,720 points
79 views
0 votes
1 answer

Numpy: Multiplying large arrays with dtype=int8 is SLOW

Unfortunately, as correctly underlined in the comments, the ...READ MORE

answered Sep 5, 2018 in Python by Priyaj
• 56,900 points
112 views
0 votes
1 answer

mapping two numpy arrays

Here's a NumPythonic vectorized approach - B[:,1][(A == ...READ MORE

answered May 10 in Python by SDeb
• 13,180 points
334 views
0 votes
1 answer

Save NumPy arrays to File

Try this: np.savetxt('file.txt',arr,delimiter=' ') will save to a text ...READ MORE

answered May 24 in Python by Jason
39 views
0 votes
1 answer

Length and dimensions of NumPy arrays

The length of NumPy arrays can be ...READ MORE

answered Jun 14 in Python by Wajiha
• 1,920 points
27 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 332 views
+4 votes
6 answers
0 votes
1 answer

Numpy data in csv

Use this -  numpy.savetxt("data.csv", arr, delimiter=",") READ MORE

answered Jul 3, 2018 in Python by Hamartia's Mask
• 1,580 points
41 views