Hello all ! 

I have a dataset with columns corresponding to SP500 stocks and lines corresponding to daily data (see sample data : https://www.dropbox.com/s/p8dijh37vf9itkc/QC_data.csv?dl=1). I want to use this custom data to perform universe selection by selecting the 2 stocks with the largest daily value from all the stocks, and then investing in those stocks. 

I have tried but not succeeded in doing so in QC. 

Do you have any idea how I could achieve this? (in Python preferably)

Thank you!

Victor