{"description":"\u30b5\u30de\u30ea\u30fc 14MB\u306e CSV \u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u3093\u3067 1,000 \u56de df[df[\u5217\u756a\u53f7]==\u6570\u5024] \u307e\u305f\u306f df[df[\u5217\u756a\u53f7].isin([\u6570\u5024])] \u306e\u5b9f\u884c\u6642\u9593\u3092\u8a08\u6e2c\u3059\u308b\u3068\u3001isin \u306e\u307b\u3046\u304c 0.875s\uff08=3.131s-2.256s\uff09\u9045\u3044\u7d50\u679c\u306b\u306a\u3063\u305f\u3002cProfile \u3067\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u3059\u308b\u3068 df[df[\u5217\u756a\u53f7]==\u6570\u5024] \u306e\u5834\u5408\u3001algorithms.py#isin \u3067\u6642\u9593\u3092\u6d88\u8cbb\u3057\u3066\u3044\u308b\u3002\u6b21\u70b9\u306e pandas._libs.algos.take_2d_axis1_object_object \u3084 method 'read_low_memory' of 'pandas._libs.parse\u2026","url":"https://yohei-a.hatenablog.jp/entry/20231011/1697019765","author_url":"https://blog.hatena.ne.jp/yohei-a/","height":"190","blog_title":"ablog","width":"100%","published":"2023-10-11 19:22:45","provider_name":"Hatena Blog","image_url":null,"provider_url":"https://hatena.blog","blog_url":"https://yohei-a.hatenablog.jp/","type":"rich","author_name":"yohei-a","version":"1.0","categories":["Python","Pandas"],"title":"pandas \u3067 df[df[\u5217\u756a\u53f7]==\u6570\u5024] \u3068 df[df[\u5217\u756a\u53f7].isin([\u6570\u5024])] \u306e\u3069\u3061\u3089\u304c\u901f\u3044\u304b\uff08\u6570\u5024\u7de8\uff09","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20231011%2F1697019765\" title=\"pandas \u3067 df[df[\u5217\u756a\u53f7]==\u6570\u5024] \u3068 df[df[\u5217\u756a\u53f7].isin([\u6570\u5024])] \u306e\u3069\u3061\u3089\u304c\u901f\u3044\u304b\uff08\u6570\u5024\u7de8\uff09 - ablog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}