title: Transition probabilities for entire table
body: <p>I have df with the following structure:</p>
  <pre><code>sid step1 step2 step3 . . . . . step30
  </code></pre>
  <p>The <code>sid</code> is an id and the steps are steps through a webpage where</p>
  <ol>
  <li><code>sids</code> with a minimum of two steps</li>
  <li><code>sids</code> with a maximum of thirty steps</li>
  <li>no duplicate sequential pages (ie page refreshes)</li>
  <li>the steps are all string object types</li>
  </ol>
  <p>I want to essentially create a total transition probability where for every unique page— I get a table/matrix which has a transition probability for every single possible page.</p>
  <p>I have around ~3k unique pages so I don't know if this will be computationally feasible.</p>
  <p>I would be okay with also passing a few pages as an argument for the matrix, so its not a 3000x3000 matrix and maybe a 1x3000 or 5x3000. In fact, I would prefer to start with this and scale up until it crashes lol.</p>