{"title":"query\u3068bool\u578b\u306eSeries\u6307\u5b9a\u306b\u3088\u308bDataFrame\u306e\u304b\u3089\u306e\u30c7\u30fc\u30bf\u62bd\u51fa\u901f\u5ea6\u306e\u5dee\u3010pandas\u3011","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcocodrips.hateblo.jp%2Fentry%2F2017%2F12%2F14%2F202315\" title=\"query\u3068bool\u578b\u306eSeries\u6307\u5b9a\u306b\u3088\u308bDataFrame\u306e\u304b\u3089\u306e\u30c7\u30fc\u30bf\u62bd\u51fa\u901f\u5ea6\u306e\u5dee\u3010pandas\u3011 - \u3074\u3088\u3074\u3088.py\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/cocodrips/","width":"100%","height":"190","provider_name":"Hatena Blog","blog_url":"https://cocodrips.hateblo.jp/","published":"2017-12-14 20:23:15","author_name":"cocodrips","type":"rich","description":"pandas\u3067\u6761\u4ef6\u3092\u6307\u5b9a\u3057\u3066\u62bd\u51fa\u3092\u884c\u3046\u3068\u304d\u3001df[df['Age'] < n]\u3068df.query('Age < @n') \u3067\u540c\u3058\u3053\u3068\u304c\u3067\u304d\u308b\u3051\u308c\u3069\u3001 \u3069\u308c\u304f\u3089\u3044\u5b9f\u884c\u6642\u9593\u306b\u5dee\u304c\u3042\u308b\u304b\u6c17\u306b\u306a\u3063\u305f\u306e\u3067\u8abf\u3079\u305f\u3002 \u4f7f\u7528\u30c7\u30fc\u30bf \u4f7f\u3063\u305f\u30c7\u30fc\u30bf: 2000\u884c\u5f31\u306e\u30c7\u30fc\u30bf\u3002 Colon function | R Documentation import pandas as pd df = pd.read_csv('colon.csv', index_col=0) df.loc[0:3, ['id', 'study', 'rx', 'sex', 'age']] id study rx sex age 1 1 1 L\u2026","blog_title":"\u3074\u3088\u3074\u3088.py","categories":["Python","\u30c7\u30fc\u30bf\u89e3\u6790"],"url":"https://cocodrips.hateblo.jp/entry/2017/12/14/202315","version":"1.0","provider_url":"https://hatena.blog"}