It appears that you pulled your .csv file into the timeline, so you should be able to use a Source Text expression like this:
n = thisComp.layer("MCBU Roster for Video copy.csv")("Data")("Number of Rows");
idx = Math.min(timeToFrames(time),n-1);
footage("MCBU Roster for Video copy.csv").dataValue([0,idx])