Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created May 26, 2021 11: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 amankharwal/4d9e790a0bf5e7a93d3fe4770c8a49d1 to your computer and use it in GitHub Desktop.
Save amankharwal/4d9e790a0bf5e7a93d3fe4770c8a49d1 to your computer and use it in GitHub Desktop.
import numpy as np
x = np.random.uniform(0.0, 1.0, size=(10, 2))
y = np.random.choice(("Male", "Female"), size=(10))
print(x[0])
print(y[0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment