{"blog_title":"48's diary","title":"numpy.shuffle\u306e\u30e1\u30e2","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/the48/","height":"190","description":"import numpy import random with open('generated_sfens.bin', 'rb') as f: data = numpy.fromfile(f, dtype='int8').reshape(100000000, 40) numpy.random.shuffle(data) with open('shuffled_sfens.bin', 'wb') as f: data.tofile(f)","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbleu48.hatenablog.com%2Fentry%2F2019%2F02%2F17%2F211709\" title=\"numpy.shuffle\u306e\u30e1\u30e2 - 48&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://bleu48.hatenablog.com/","provider_url":"https://hatena.blog","version":"1.0","published":"2019-02-17 21:17:09","categories":[],"url":"https://bleu48.hatenablog.com/entry/2019/02/17/211709","image_url":null,"type":"rich","width":"100%","author_name":"the48"}