Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
how to How to use of concatenate() with axis=0
Home
NumPy
how to How to use of concatenate() with axis=0
+1
vote
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
how to How to use of concatenate() with axis=0
concatenate-function
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 9, 2021
by
rajeshsharma
x=np.array([[1,2],[3,4]])
y=np.array([[5,6]])
z=np.concatenate((x,y),axis=None) #
print(“\narray of z value is with o axis : “,z) # [ 1 2 3 4 5 6]
Related questions
+1
vote
Q: How to use of concatenate()
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
concatenate
+1
vote
Q: create a matrix 3 * 3 with value ranging from 0 to 8
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
numpy-matrix
+1
vote
Q: create 4*4 and print 0 to 12
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
create-array
+1
vote
Q: create an array of 20 linearly spaced point between 0 to 1
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
create-array
+1
vote
Q: print random number from 0 to 1
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
print-random-number
+2
votes
Q: Print the probabilty arr = [0.23, 0.09, 1.2, 1.24, 9.99] using fix() this example of fuzzy logic or probability
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
probability
+1
vote
Q: print value who divide by 2 and remain is 0.
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
convert-boolean
0
votes
Q: In which chart type, is the quantitative data displayed graphically. In which chart type are the area between axis and line emphasized with colors, textures, and hatchings?
asked
Dec 24, 2022
in
Data Analytics
by
AdilsonLima
data-analytics
+1
vote
Q: what is the How to use of == operator ?
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
equal-operator
+1
vote
Q: How to use of reshape ex.1 starting value is 1 and ending value is 50, print 10 integer random numbers
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
print-array
...