{"description":"#! /usr/bin/env python # -*- coding: utf-8 -*- import sys import numpy as np data = np.loadtxt(sys.argv[1], delimiter=\",\", skiprows=1, usecols = range(8,21)) d = data[:, 3] print len((np.where((d >= 20001) * (d <= 30000) == True))[0]) \u3068\u304b\u306d\u3002\u30a2\u30af\u30bb\u30b9\u3057\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u306b\u306f\u3001array\u306earray\u306b\u306a\u3063\u3066\u6b32\u3057\u3044\u3051\u3069\u3001\u30c7\u30fc\u30bf\u578b\u3092\u6df7\u5728\u3055\u305b\u308b\u3068\u3001tuple\u306earray\u306b\u306a\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2016%2F04%2F30%2F033734\" title=\"\u6574\u5f62\u3057\u305fCSV\u3092\u8aad\u307f\u53d6\u3063\u3066\u307f\u308b - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","categories":["Python","statistics","MOOC"],"width":"100%","image_url":null,"provider_url":"https://hatena.blog","height":"190","author_url":"https://blog.hatena.ne.jp/derwind/","type":"rich","title":"\u6574\u5f62\u3057\u305fCSV\u3092\u8aad\u307f\u53d6\u3063\u3066\u307f\u308b","blog_url":"https://randommemory.hatenablog.com/","provider_name":"Hatena Blog","blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","author_name":"derwind","published":"2016-04-30 03:37:34","url":"https://randommemory.hatenablog.com/entry/2016/04/30/033734"}