I'm trying to create a contour map from two variables which store some temperature values and a third variable which is the time stamp. I used this notebook as a tutorial
I'm not able to convert the pandas dataframe created, into a 1d array. And the kde_scipy doesn't work with a nd-array. I tried converting the dataframe into a 1d array using .as_matrix() but this is the error I am receiving.
Degrees of freedom <= 0 for slice
How can I convert this CSV file (with 3 columns of data) imported as a dataframe into individual columns of data? Or can I directly import each column of data into a 1d array and use it in the function kde_scipy?