Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In sage 9.8 the workaround works for me:

A = matrix([[3, 1], [0, 2]])
B = matrix([[2, 1], [0, 3]])
bots = NormalFormGame([A, B])
botsr=[[tuple(bots[(0,0)]),tuple(bots[(0,1)])],[tuple(bots[(1,0)]),tuple(bots[(1,1)])]]
import pandas as pd
jpm=pd.DataFrame(botsr, columns=['Boxe', 'Ballet'])
jpm.index = ['Boxe', 'Ballet']
jpm