def METHOD_NAME(self):
    dfSrc = pd.DataFrame(
        data={
            "a": np.zeros((10,), dtype=np.float32),
            "b": np.ones((10,), dtype=np.int64),
            "c": np.array(list(range(0, 10)), dtype=np.uint16),
            "d": pd.Series(["x", "y", "z", "x", "y", "z", "a", "x", "y", "z"], dtype="category"),
        }
    )
    dfDst = decode_matrix_fbs(encode_matrix_fbs(matrix=dfSrc, col_idx=dfSrc.columns))
    self.assertEqual(dfSrc.shape, dfDst.shape)
    self.assertEqual(set(dfSrc.columns), set(dfDst.columns))
    for c in dfSrc.columns:
        self.assertTrue(c in dfDst.columns)
        if isinstance(dfSrc[c], pd.Series):
            self.assertTrue(np.all(dfSrc[c] == dfDst[c]))
        else:
            self.assertEqual(dfSrc[c], dfDst[c])