May not be the optimal way to do this but the following works:
a = numpy.matrix([[ 0.16666667, 0.66666667, 0.16666667]])
list(numpy.array(a).reshape(-1,))
or
numpy.array(a).reshape(-1,).tolist()
or
numpy.array(a)[0].tolist()
May not be the optimal way to do this but the following works:
a = numpy.matrix([[ 0.16666667, 0.66666667, 0.16666667]])
list(numpy.array(a).reshape(-1,))
or
numpy.array(a).reshape(-1,).tolist()
or
numpy.array(a)[0].tolist()