;</span><span class="p">))</span>
<span class="gh">Out[1]: </span><span class="go"></span>
<span class="go">State</span>
<span class="go">A</span>
<span class="go">B</span>
</pre></div>
</div>
<p>A markov chain needs transition probabilities for each transition state <cite>i</cite> to
<cite>j</cite>. Note that the sum of the transition probabilities coming out of each state
must sum to 1</p>
<div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><span class="gp">In [2]: </span><