The correlation coefficient calculated by Python dataframe can not be calculated by corr (),.

there are two columns of data, put them in a dataframe, and then calculate the correlation coefficient by dataframe.corr (), but the result cannot be calculated
the output result is"-",
clipboard.png

clipboard.png

Country popcite espc
Canada 0.000500002
Australia 0.000374206
United Kingdom 0.000318721
United States 0.000298307
South Korea 0.000239392
Japan 0.000237714
Germany 0.00020942
France 0.00020322
Spain 0.00020089
Italy 0.000180175
Russian Federation 0.000127533
Iran 0.00011442
China 9.27E-05 93
Brazil 4.17E-05 59
India 1.16E-05 26

Feb.28,2021
Menu