Using dataframes for portfolio on compinvesing hw3