• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

What is the meaning of .ndarray in python numpy arrays

Code: import numpy A= numpy.array([1, 2, 3]) print(type(A)) Output: <class 'numpy.ndarray'>

pythonnumpy
23rd Nov 2020, 10:49 AM
QUANTUMSPARK1
QUANTUMSPARK1 - avatar
1 Answer
+ 5
https://numpy.org/doc/stable/reference/arrays.ndarray.html#:~:text=An%20ndarray%20is%20a%20(usually,the%20sizes%20of%20each%20dimension.
23rd Nov 2020, 11:01 AM
Alphin K Sajan
Alphin K Sajan - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
How can I print a Python set so it looks clean (no {} brackets or quotes)?
2 Votes
Where make_unique is better than unique_ptr(raw pointer)
0 Votes
Can someone help and explain better on slicing
1 Votes
How do I remove duplicates from a list but keep the order?
0 Votes
How do I print a multiplication table neatly?
0 Votes
Why we use return in function ?
0 Votes
Course
1 Votes
Real life projects
0 Votes
Hill Climbing
0 Votes
Complete the code to check if the player complete the level
0 Votes