Trying to step into Julia these days, so far so good. Really excited about the multiple dispatching and type hint. Got a few questions regarding DataFrames.
Currently I am using the prostate cancer dataset from here. It is a 97x11 dataset. In pandas, you can call the corr method on the dataframe itself to generate a correlation matrix of all columns. Is there a similar method that I can call to get that on the Julia side?
Hi! Thank you for using DataFrames.jl. What type and shape of output you would expect? If you want a Matrix then just do:
using Statistics
cor(Matrix(your_data_frame))
but things with calculating correlations are quite involved so depending on the details you want a specific answer might be different (in particular - do you have missing values and how do you want to handle them?).
EDIT: what type of correlation do you want to calculate (I assumed Pearson correlation coefficient)?