Skip to content

Instantly share code, notes, and snippets.

@stephengruppetta
Created January 6, 2024 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephengruppetta/fd8e9689aa805ee47d6285a897d226d7 to your computer and use it in GitHub Desktop.
Save stephengruppetta/fd8e9689aa805ee47d6285a897d226d7 to your computer and use it in GitHub Desktop.
some_names = ["Bob", "Fred", "Mary", "Kate"]
some_names_np = np.array(some_names)
some_names_np
# array(['Bob', 'Fred', 'Mary', 'Kate'], dtype='<U4')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment