I created a correlation matrix using pandas.DataFrame.corr(method = 'spearman') and got this result. The column RAIN does not contain any correlation between it and the other columns.
pandas.DataFrame.corr(method = 'spearman')
RAIN
My question is - why are the correlations between RAIN and the other columns blank?
My dataset contains the following columns with their respective datatypes -
PM2.5 float64 PM10 float64 SO2 float64 NO2 float64 CO float64 O3 float64 TEMP float64 PRES float64 DEWP float64 RAIN float64 WSPM float64 dtype: object
First debugging step would be to check with df.isna().all() if RAIN column is all nan (which would be kicked out)
1.4m articles
1.4m replys
5 comments
56.9k users