Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
np array to tuple
jasbir singh
Programming language:
Whatever
2021-08-23 13:23:39
0
Q:
np array to tuple
user8140
Code:
Whatever
2021-09-09 13:37:46
>>> arr = numpy.array(((2,2),(2,-2))) >>> tuple(map(tuple, arr)) ((2, 2), (2, -2))
0
Tags
array
Related
np.array to list
create empty numpy array without shape
list to np array
how to make a numpy array
convert a list to tuple
numpy array values not updateing
list dataframe to numpy array
numpy list to array
New to Communities?
Join the community