def iprint(self):
    df = pd.DataFrame()
    for i in range(self.size):
        for j in range(self.size):
            df.loc[(i, j)] = self.data[(i, j)]
    df.index = df.columns = [str(v) for v in self.states.values()]
    self.df = df
def iprint(self):
    df = pd.DataFrame()
    for i in range(self.size):
        for j in range(self.size):
            df.loc[(i, j)] = self.data[(i, j)]
    df.index = df.columns = [str(v) for v in self.states.values()]
    self.df = df