Traceback (most recent call last):

 "C:\Python33\lib\logging__init__.py", line 941, in emit

 "C:\Python\64-bit\3.3\lib\encodings\cp1252.py", line 19, in encodeUnicodeEncodeError: 'charmap' codec can't encode characters in position 200-202: character maps to <undefined>
`Traceback (most recent call last):


 "test.py", line 25, in <module>

print(distribution.check_independence('coin1', 'coin2'))


 "/usr/local/lib/python3.5/site-packages/pgmpy-0.1.0-py3.5.egg/pgmpy/factors/JointProbabilityDistribution.py", line 153, in check_independence


 "/usr/local/lib/python3.5/site-packages/pgmpy-0.1.0-py3.5.egg/pgmpy/factors/JointProbabilityDistribution.py", line 121, in marginal_distribution


 "/usr/local/lib/python3.5/site-packages/pgmpy-0.1.0-py3.5.egg/pgmpy/factors/Factor.py", line 209, in marginalize


 "/usr/local/lib/python3.5/site-packages/pgmpy-0.1.0-py3.5.egg/pgmpy/factors/Factor.py", line 416, in _index_for_assignment
IndexError: axis 1 out of bounds [0, 1)`
