Numpy create array with random values

    0

    10

    Numpy recipes

    Shortcut: numpy.create_array_random_values

    import numpy as np
    
    new_array = np.random.rand(2, 4)
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.