I have a Python DataFrame that looks something like:pageviews, type100         050          1...When I run:df.corr()            pageviews   typepageviews   1.000000    -0.009611type       -0.009611    1.000000So there's less than a 0.01 correlation between type and pageviews.  However, when I do:df.groupby('type')['pageviews'].mean()I get back:type0    1421.4066211     885.092874Name: pageviews, dtype: float64So type 0 has almost twice the number of average pageviews but there's very little correlation.How is this possible?Thanks!
Strange Pearson Correlation Coefficient Given DataFrame
python;pandas;correlation