I would like to use Hail to analyze the biobank data. But I met a problem. After I load the plink file in python and select the SNP using Hail, I fail to transformate th Matrixtable to pands.DataFrame. Please tell me how to do it.
My Hail version is ‘0.2.91-44b441376f9a’.
If my understanding is correct, you will can convert a hail table to a pandas dataframe easily using
You cannot convert a hail matrix table to pandas dataframe directly. You will require hail matrix table to be converted to hail table first.
PS: Generally, you end up taking cols or rows table like