Skip to content

Instantly share code, notes, and snippets.

@stephengruppetta
Created January 6, 2024 12:06
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/e1564986ee78c61ba200e7661a537efe to your computer and use it in GitHub Desktop.
Save stephengruppetta/e1564986ee78c61ba200e7661a537efe to your computer and use it in GitHub Desktop.
some_weird_list = [1, 2.2, True, "Hello there!"]
some_weird_ndarray = np.array(some_weird_list)
some_weird_ndarray
# array(['1', '2.2', 'True', 'Hello there!'], dtype='<U32')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment