I have to conduct a project on Pagerank and need to calculate the probability that it lands on each page. The text file is also too large to fit in an Excel file and I am having issues coming up with ways to calculate the probability. What is the most efficient way to calculate it? Listed below is an example with probabilities added and an example without the probabilities. For example, page 0's probability is 25% since there are 4 links. The text file is called pagerank.txt. I have access to Python, R, SQL, and Excel.
0 1 0.25
0 2 0.25
0 3 0.25
0 4 0.25
1 2
1 3
1 4
1 5
1 6