Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
numpy create string array
BenGoldberg
Programming language:
Whatever
2021-08-27 20:51:34
0
Q:
numpy create string array
leymannx
Code:
Whatever
2021-09-08 03:52:52
strArr = numpy.empty(10, dtype='string') for i in range(0,10) strArr[i] = "test"
-2
Tags
string
array
create
Related
numpy arange number of elements
list dataframe to numpy array
how to normalize a 1d numpy array
how to make a numpy array
numpy list to array
create empty numpy array without shape
New to Communities?
Join the community