Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: Explain the purpose of np.random.seed() in NumPy.
Answer: np.random.seed() is used to initialize the random number generator in NumPy, ensuring reproducibility of random results.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook