Skip to content

Instantly share code, notes, and snippets.

@werterzz
Created March 6, 2022 12:26
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 werterzz/290e1b537e0ead25c7907a0846fd6a50 to your computer and use it in GitHub Desktop.
Save werterzz/290e1b537e0ead25c7907a0846fd6a50 to your computer and use it in GitHub Desktop.
import numpy as np
arr = np.array([1, 1, 1], dtype=float)
print(arr)
# Output
# [1. 1. 1.]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment