Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is the purpose of np.newaxis in NumPy?
Answer: np.newaxis is used to increase the dimension of the existing array by one more dimension when used once.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook