Created
March 12, 2022 08:11
-
-
Save werterzz/e834b088170fa3bb2f6121e0ae40d74d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
listData = [1, 2, 3] | |
npArrData = np.asarray(listData) | |
print("listData:", type(listData), ": ", listData) | |
print("npArrData: ", type(npArrData), ": ", npArrData) | |
# Output | |
# listData: <class 'list'> : [1, 2, 3] | |
# npArrData: <class 'numpy.ndarray'> : [1 2 3] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment