• HStone32@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        3 days ago
        import numpy as np
        
        temp = np.array([22, 21, 25, 23])
        sd_temp = np.std(temp, ddof=1)
        print(sd_temp)
        

        Vs

        temp <- c(22, 21, 25, 23)
        sd(temp)
        

        How in the world is R more clunky than python?

        Edit: and I didn’t even mention how python likes to break unrelated software packages whenever I’m forced to use it.