Q. In Pandas, which method is used to calculate the variance of a numerical column in a DataFrame?

  • (A) mean()
  • (B) sum()
  • (C) var()
  • (D) median()
πŸ’¬ Discuss
βœ… Correct Answer: (C) var()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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