πŸ“Š Python
Q. Which of the following is the correct syntax to search for an element ‘n’ in the numpy array ‘ar’?
  • (A) ar.index(n)
  • (B) ar.where(n)
  • (C) np.index(ar==n)
  • (D) np.where(ar==n)
πŸ’¬ Discuss
βœ… Correct Answer: (D) np.where(ar==n)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
168
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
82%
Success Rate