{"blog_url":"https://upura.hatenablog.com/","blog_title":"u++\u306e\u5099\u5fd8\u9332","height":"190","type":"rich","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fupura.hatenablog.com%2Fentry%2F2020%2F04%2F14%2F175043\" title=\"\u8a00\u8a9e\u51e6\u7406100\u672c\u30ce\u30c3\u30af 2020\u300c15. \u672b\u5c3e\u306eN\u884c\u3092\u51fa\u529b\u300d - u++\u306e\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"author_url":"https://blog.hatena.ne.jp/upura/","author_name":"upura","width":"100%","categories":["\u81ea\u7136\u8a00\u8a9e\u51e6\u7406","python"],"url":"https://upura.hatenablog.com/entry/2020/04/14/175043","provider_url":"https://hatena.blog","version":"1.0","published":"2020-04-14 17:50:43","description":"\u554f\u984c\u6587 nlp100.github.io \u554f\u984c\u306e\u6982\u8981 \u300c14. \u5148\u982d\u304b\u3089N\u884c\u3092\u51fa\u529b\u300d\u3068\u307b\u307c\u540c\u69d8\u3067\u3059\u3002\u4eca\u56de\u8868\u793a\u3059\u308b\u306e\u306f\u4e0a\u4f4dN\u4ef6\u3067\u306f\u306a\u304f\u4e0b\u4f4dN\u4ef6\u306a\u306e\u3067\u300chead(N)\u300d\u306e\u4ee3\u308f\u308a\u306b\u300ctail(N)\u300d\u3092\u4f7f\u3044\u307e\u3059\u3002 import sys import pandas as pd if len(sys.argv) == 1: print('Set arg n, like \"python ch02/ans15.py 5\"') else: n = int(sys.argv[1]) df = pd.read_csv('ch02/popular-names.txt', sep='\\t', header=None) \u2026","title":"\u8a00\u8a9e\u51e6\u7406100\u672c\u30ce\u30c3\u30af 2020\u300c15. \u672b\u5c3e\u306eN\u884c\u3092\u51fa\u529b\u300d"}