Q12 I ran  df.corr() and received an error (assuming I am in pandas 2).  What's the most likely cause?  Single choice

A

The DataFrame has missing values

B

The DataFrame has string/object columns and corr() tried to include them as the default is numeric_only = False

C

The DataFrame has duplicated column names

D

A column has non-scalar objects (list/dictionary)

Log in for full answers

We've collected over 50,000 authentic original questions and detailed explanations from around the globe. Log in now and get instant access to the answers!

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!