{"published":"2016-05-15 22:20:04","title":"<Python, pandas> \u30ab\u30e9\u30e0\u3092\u524a\u9664\u3059\u308b\u3002","provider_url":"https://hatena.blog","categories":["pandas","Python"],"author_url":"https://blog.hatena.ne.jp/nekoyukimmm/","blog_title":"\u306d\u3053\u3086\u304d\u306e\u30e1\u30e2","width":"100%","blog_url":"https://nekoyukimmm.hatenablog.com/","image_url":null,"provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekoyukimmm.hatenablog.com%2Fentry%2F2016%2F05%2F15%2F222004\" title=\"&lt;Python, pandas&gt; \u30ab\u30e9\u30e0\u3092\u524a\u9664\u3059\u308b\u3002 - \u306d\u3053\u3086\u304d\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","version":"1.0","url":"https://nekoyukimmm.hatenablog.com/entry/2016/05/15/222004","description":"\u5217/\u30ab\u30e9\u30e0column\u3092\u524a\u9664delete\u3059\u308b\u3002 del\u3060\u3068\u601d\u3063\u305f\u3066\u3051\u3069\u3001.drop()\u304c\u4f7f\u3048\u308b\u3089\u3057\u3044\u3002 In [1]: import pandas as pd In [2]: df = pd.DataFrame({'a':[1,2,3],'b':[4,5,6],'c':[7,8,9]}) In [3]: df Out[3]: a b c 0 1 4 7 1 2 5 8 2 3 6 9 del\u306e\u5834\u5408\u3002 In [4]: df2 = df.copy() In [7]: del df2['a'] In [8]: df2 Out[8]: b c 0 4 7 1 5 8 2 6 9 .drop()\u306e\u5834\u5408\u3002\u2026","author_name":"nekoyukimmm","height":"190"}