1 | initial version |
import numpy as np a = np.array([['apple', 'frog'],[[3,2], 3]], dtype=object); a /// array([[apple, frog], [[3, 2], 3]], dtype=object)
2 | No.2 Revision |
import numpy as np
a = np.array([['apple', 'frog'],[[3,2], 3]], dtype=object);
a
///
a
array([[apple, frog],
[[3, 2], 3]], dtype=object)
Sage Matrices have entries as ring elements.... so this can be done in python.
3 | No.3 Revision |
import numpy as np
a = np.array([['apple', 'frog'],[[3,2], 3]], dtype=object); a
array([[apple, frog],
[[3, 2], 3]], dtype=object)
Sage Matrices have entries as ring elements.... so this can be done in python.numpy instead.